[Bug c/55965] gcc -std=c99 emits code for inline even without extern

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 24 07:53:00 GMT 2014


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The implicit builtin FUNCTION_DECL should have UNKNOWN_LOCATION or
BUILTIN_LOCATION, so should be easy to differentiate from explicit user extern
decl.  Just it is important that when an inline without extern is merged with
the implicit decl that the result doesn't look like user extern inline
or user extern decl followed by inline decl.



More information about the Gcc-bugs mailing list