This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ada bootstrap failure due to loop optimization and builtin_stack_alloc


Hello,

> On Thu, Jul 29, 2004 at 08:22:30AM -0400, Richard Kenner wrote:
> >     this sounds weird.  
> > 
> > It's a wierd builtin!
> 
> I've actually been thinking that the builtin is so weird that
> we shouldn't do things this way at all.
> 
> We jump through a hoop with __builtin_stack_alloc, and then we
> jump through a hoop with DECL_DEFER_OUTPUT in allocating the
> variable at rtl time.  Why in the world aren't we just 
> representing this as __builtin_alloca and normal indirection?

because rewriting every use of the variable sized array via indirection
makes debugging impossible, basically.  But yes, as noted further in the
thread, this seems like a best solution regardless.

Zdenek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]