This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inline limitation?
- To: egcs at cygnus dot com
- Subject: Re: Inline limitation?
- From: Nathan Myers <ncm at nospam dot cantrip dot org>
- Date: Tue, 18 Aug 1998 15:38:09 -0700
- Newsgroups: cygnus.egcs
- Organization: http://www.cantrip.org/
- References: <199808171720.KAA30267.cygnus.egcs@iago.ultimatech.com.ultimatech.com>
Marco Manfai Yu wrote:
> It seems that egcs 1.0.3a does not inline a function unless
> it is defined before use.
This is conventional. The compiler is permitted to inline it (or
any function, inline or otherwise) or not.
Perhaps there should be an optional warning that an inline function
is not available for inlining at the point where it is called.
Nathan Myers
ncm@cygnus.com