Use of Inline

Gabriel Dos Reis
Thu Jan 26 16:26:00 GMT 2006

"Joe Lovelace" <> writes:

| In GCC 2.96, is it correct that if no optimization is used, the
| compiler performs no inlining, and the user must explicity specify if
| they want a function to be inline?

GCC 2.96 is rather old, and experimental (not an official release
version).  But, yes, if you don't turn optimization on, why would you
expect the compiler to optimize?  

-- Gaby

More information about the Gcc-help mailing list