> -----Original Message----- > From: Mike Stump [mailto:[email protected]] > Sent: Wednesday, October 30, 2013 6:48 PM > To: Iyer, Balaji V > Cc: '[email protected]'; Jeff Law; [email protected] > Subject: Re: [PATCH, committed] libcilkrts - Add check for availability of > alloca.h > (Bug Bootstrap/58918) > > On Oct 30, 2013, at 3:40 PM, "Iyer, Balaji V" <[email protected]> wrote: > > This attached patch will check for usage of alloca.h before using it. > > The > change is entirely in libcilkrts and I am committing this change as it is > pretty > obvious. > > Uh, no? Usually runtimes are compiled by the built compiler?! This built > compiler _is_ by definition, gcc. So, one can do: > > #define alloca __builtin_alloca > > safely and be done with it. So, net result, don't need any config hair. Is > the > library not compiled by gcc?
Yes, the library is compiled by GCC, but it is also used by LLVM and ICC. So, we would like to keep the same code base for all. Thanks, Balaji V. Iyer.
