Messages in this thread | | | Date | Mon, 4 Nov 2002 19:44:46 -0300 | From | Werner Almesberger <> | Subject | Re: Some functions are not inlined by gcc 3.2, resulting code is ugly |
| |
Alan Cox wrote: > gcc actually appears to know about that case for static functions.
Hmm. gcc 3.1 inlines functions even without being marked "inline" when using -O3 or higher. It doesn't seem to special-case plain "static", or even single-use "static".
Is gcc 3.2 better at this ?
-falways-inline-static-singletons would be kind of nice to have.
- Werner
-- _________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net / /_http://www.almesberger.net/____________________________________________/ - 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/
| |