This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/55965] gcc -std=c99 emits code for inline even without extern
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 24 Oct 2014 07:14:06 +0000
- Subject: [Bug c/55965] gcc -std=c99 emits code for inline even without extern
- Auto-submitted: auto-generated
- References: <bug-55965-4 at http dot gcc dot gnu dot org/bugzilla/>
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.