This is the mail archive of the
mailing list for the GCC project.
Re: [patch][plugin,mudflap] Mark builtin alloca as not inlineable
Andrew Pinski <email@example.com> writes:
> ok, I looked into this patch and this is not about inlining functions
> containing alloca but rather always expanding of alloca inlined.
> So really using CALL_CANNOT_INLINE_P is wrong as really it we are
> trying to force expanding of alloca inlined in the function.
Why is using CALL_CANNOT_INLINE_P wrong? It looks exactly right to me:
when using -fmudflap, the call to alloca may not be inlined.