Please don't top-post.

Mick CORNUT writes:
 > > 
 > > ----- Message d'origine ----
 > > De : Andrew Haley <[EMAIL PROTECTED]>
 > > 
 > > Mick CORNUT writes:
 > > 
 > >  > We've just pointed out a strange problem with gcc 3.4.0: we use it
 > >  > for generating ARM 7 processor thumb code.  This strange behavior
 > >  > was pointed out with a function taking 5 parameters (the fifth one
 > >  > is passed through stack according to the abi spec).
 > > 
 > > Can you try this with a more recent compiler?  gcc 3.4.0 is no longer
 > > being maintained.
 > 
 > As I've mentionned it, I've built gcc 3.4.6 for ARM yesterday (with
 > binutils 2.17), and the same problem occurs!
 > 
 > Ps: I've just tried with gcc 4.1.1, but the problem doesn't occur
 > since gcc removes the temporary buffer allocation on the stack,

What happens when you actually use the buffer?

 > furthermore, we want to keep gcc 3.4.x!

Well, decisions like that have consequences, one of which is probably
that you'll have to fix this bug yourself.  gcc developers are
unlikely to be interested in writing fixes for an old compiler.

Andrew.

Reply via email to