This is the mail archive of the gcc-patches@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: [PATCH, committed] libcilkrts - Add check for availability of alloca.h (Bug Bootstrap/58918)


On Oct 30, 2013, at 3:40 PM, "Iyer, Balaji V" <balaji.v.iyer@intel.com> 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?

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