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: [RFA] attribute((inline_everything)) (was Re: [RFA] Killartificialinlining limit)


> To get it work, you need to declare your to-be-flat function as both
> __attribute__((inline_everything)) and __attribute__((noinline)).

Yuck.

Am I the only one who thinks this is ridiculous? I think the best way
out of the inlining wars would be 

1) per-language inlining heuristics, flag controlled
2) more accurate estimation of optimized function size

Hopefully the SSA bits will eventually help with 2.

Adding all these gross attribute hacks is just going to add clutter and
hacks that will have to be supported ad infinitum.

-benjamin


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