Using alloca (or stmt exprs) as a function call argument is bad?

Jan Hubicka jh@suse.cz
Tue Sep 25 06:38:00 GMT 2001


> On Mon, Sep 24, 2001 at 06:43:04PM -0400, Kaveh R. Ghazi wrote:
> > What, fix alloca so that it doesn't conflict with function parameters
> > put on the stack?
> 
> Yes.  You'd pre-process the CALL_EXPR, note the embedded alloca
> invocation, un-nest the alloca, and replace the original argument
> with a temporary.
This is already done (or attempted to be done) in the call.c.

Honza
> 
> 
> r~



More information about the Gcc mailing list