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.