Fix pr45962 : fallout from stack alignment patch

Richard Henderson rth@redhat.com
Mon Oct 11 22:56:00 GMT 2010


If a variable has zero size, we should allocate at least one
byte for it, so that two variables of zero size have different
addresses.

This caught up with us here, when we had 1 variable of zero
size and failed to allocate any memory at all, leading to an
ICE dereferencing null.


r~
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101011/7597ec1d/attachment.ksh>


More information about the Gcc-patches mailing list