Messages in this thread | | | Date | Sat, 10 Jul 2004 23:55:36 -0700 | From | Andrew Morton <> | Subject | Re: GCC 3.4 and broken inlining. |
| |
Andi Kleen <ak@muc.de> wrote: > > I guess it could be readded if the inlining heuristics were fixed, > but even in gcc 3.5 it still looks quite bleak.
It's very simple. For use in the kernel we don't *want* any inlining heuristics. What we want is:
a) If the programmer says "inline", then inline it.
b) If the programmer didn't say "inline" then don't inline it.
Surely it is not hard to add a new option to gcc to provide these semantics? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |