[PATCH][1/n] Fix parts of PR19831

Richard Guenther rguenther@suse.de
Thu Sep 8 08:26:00 GMT 2011


On Wed, 7 Sep 2011, Andrew Pinski wrote:

> On Wed, Sep 7, 2011 at 7:31 AM, Richard Guenther <rguenther@suse.de> wrote:
> > In practice the patch will do something about alloca at most,
> > unless, of course, you have a memleak that you don't use ;)
> 
> I think we have "alloca (0);" being required still and aligning the stack.

I don't see this being documented anywhere though, and to _what_
should it align for alloca (0)?  alloca (0) will be folded to
&auto-with-size-zero now which will get an alignment of 1 byte.

Richard.



More information about the Gcc-patches mailing list