This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2008 00:22:02 -0000
- Subject: [Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations
- References: <bug-37917-16864@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-10-27 00:22 -------
This is correct behavior. C99 inline by itself is what GNU C90 calls extern
inline. That is inline if it can be, otherwise don't emit code for the
function. "extern inline" for C99 says always emit the function.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917