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][plugin,mudflap] Mark builtin alloca as not inlineable


> alloca should have been marked as not inlinable anyways as it
> increases the stack usage inside a loop inside a SPEC testcase.

Well, all we need is to teach inliner to save/restore stack around
inlined calls of functions that do alloca (ideally only within loops).

Functions calling alloca are marked as not inlinable at the moment, but
I always meant to refine this once I have some more time.

Honza
> 
> -- Pinski


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