This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Oops :/



  In message <199808221734.TAA14297@jolan.ppro>you write:
  > Hmm, always think for 5 minutes longer before sending a mail :/
  > 
  > I am suddenly not so sure anymore that it is a bug.
  > 
  > Its equivalent to doing:
  > 
  >   foo(alloca(20), '\n');
  > 
  > If '\n' is put on the stack first, you have a problem.
  > Can it be a requirement that alloca() occuring in parameter lists
  > of function calls are pre-calculated, before putting the
  > parameters on the stack?
  > 
  > Think of
  > 
  >   foo(alloca(20), alloca(20));
  > 
  > Please remove egcs-bugs@cygnus.com from the recipient list
  > when you reply.
This is a known bug with builtin alloca on machines which push
arguments like the x86.

I've got no idea how hard this would be to fix.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]