This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using alloca in function parameters buggy or works ???
- From: Andreas Schwab <schwab at suse dot de>
- To: "Dave Korn" <dk at artimi dot com>
- Cc: <law at redhat dot com>, "'Kaveh R. Ghazi'" <ghazi at caip dot rutgers dot edu>,<gcc at gcc dot gnu dot org>
- Date: Thu, 16 Sep 2004 18:38:50 +0200
- Subject: Re: Using alloca in function parameters buggy or works ???
- References: <NUTMEGXLsxpTljBOh8s00000022@NUTMEG.CAM.ARTIMI.COM>
"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."