This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Clean up early inliner
>
> The latter sounds like what they should do anyways - inline limit
> functions disregarding inline limits. What else? ;)
Yep, it is a better variant given that we decided to make the small function
inliner consider all alwaysinlines.
As a consequence alwaysinlines will also end up being fed to recursive inlining
I think. So be sure that something like the following:
static inline
__attribute__ ((always_inline))
bomb ()
{
while (q())
bomb(),
bomb(),
bomb(),
bomb(),
bomb(),
bomb();
}
void
t()
{
bomb ();
}
won't blow up the compiler :) (it almost does now ;))
Thanks!
Honza