[Bug c/68272] Unwanted out-of-line instances for C inline functions that are also GCC builtins.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 23 21:13:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68272

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note this is only partly related to builtins.  In that the builtins are
declared as extern which forces the inline function to be an extern inline
which has a different meaning in C99 than GNU90  so you should use gnu_inline
or -fno-builtins.


More information about the Gcc-bugs mailing list