[PATCH] Fix Ada bootstrap failure

Michael Matz matz@suse.de
Fri Sep 2 15:47:00 GMT 2011


Hi,

On Fri, 2 Sep 2011, Robert Dewar wrote:

> On 9/2/2011 9:16 AM, Richard Guenther wrote:
> 
> Might be interesting to pursue, but we don't know that the null pointers 
> being dereferenced are in fact the ones returned by alloca. May not be 
> worth the effort.

Given the nature of the work-around which makes Ada work again it's fairly 
sure that the Ada frontend does emit accesses to an alloca'ed area of 
memory even if its size is zero.  I.e. definitely a real bug.


Ciao,
Michael.



More information about the Gcc-patches mailing list