Inline limitation?

Nathan Myers ncm@nospam.cantrip.org
Tue Aug 18 15:40:00 GMT 1998


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



More information about the Gcc mailing list