This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH, committed] libcilkrts - Add check for availability of alloca.h (Bug Bootstrap/58918)
- From: Mike Stump <mikestump at comcast dot net>
- To: "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- Cc: "'gerald at pfeifer dot com'" <gerald at pfeifer dot com>, Jeff Law <law at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Oct 2013 15:48:02 -0700
- Subject: Re: [PATCH, committed] libcilkrts - Add check for availability of alloca.h (Bug Bootstrap/58918)
- Authentication-results: sourceware.org; auth=none
- References: <BF230D13CA30DD48930C31D4099330003A495418 at FMSMSX101 dot amr dot corp dot intel dot com>
On Oct 30, 2013, at 3:40 PM, "Iyer, Balaji V" <firstname.lastname@example.org> 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?