Using alloca in function parameters buggy or works ???

Andreas Schwab schwab@suse.de
Thu Sep 16 16:53:00 GMT 2004


"Dave Korn" <dk@artimi.com> writes:

>   And how about calling alloca in a varargs function that has an eliminated
> frame pointer and incoming args space?  That could be a good way to expose
> latent bugs...... <g>

Use of alloca should force a frame pointer.  I don't think that GCC got
that ever wrong.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc mailing list