This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.3 release criteria
- From: dewar at gnat dot com (Robert Dewar)
- To: gcc at gcc dot gnu dot org, mattias at nellie dot hq dot vtech
- Date: Wed, 26 Feb 2003 09:57:35 -0500 (EST)
- Subject: Re: GCC 3.3 release criteria
> A common coding style (at least around here) is to write rather big
> and complex inline functions (frequently containing calls to other big
> inline functions), assuming that they will collapse to relatively
> little code when instantiated, because of constant folding and
> dead-code removal. Quite often the resulting code is smaller than the
> function call to a non-inlined function.
Indeed that is a common style, and I would say that if the compiler does
not inline in such a case, then even if the inline keyword is advisory,
this would seem to be a bug!