This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Use of Inline
- From: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- To: "Joe Lovelace" <pintose at hotmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 26 Jan 2006 10:28:29 -0600
- Subject: Re: Use of Inline
- References: <BAY22-F224079EA2C01B28DFC9922B5150@phx.gbl>
"Joe Lovelace" <pintose@hotmail.com> 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