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: alloca + inline


On Sat, Mar 15, 2003 at 03:37:28PM -0800, Geoff Keating wrote:
> ... but it doesn't if you have less than 10Mb of stack space and get_int
> gets inlined.

Didn't we fix that?  No (auto?) inlining of functions that
reference alloca.

Sun Nov 17 00:01:28 CET 2002  Jan Hubicka  <jh at suse dot cz>

        * calls.c (alloca_call_p): New global function.
        * tree.h (alloca_call_p): New.
        * tree-inline.c (inlinable_function_p):  Do not inline when
        function calls alloca.
        (find_alloca_call, find_alloca_call_1): New functions.



r~


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