This is the mail archive of the
mailing list for the GCC project.
Re: [RFA] attribute((inline_everything)) (was Re: [RFA] Killartificialinlining limit)
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: rguenth at tat dot physik dot uni-tuebingen dot de
- Date: Tue, 13 May 2003 11:33:40 -0500
- Subject: 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)).
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.