This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/86360] "inline" (and neither static nor extern) function not emitted.


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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
More than that, I don't think it's allowed to. See 6.7.4 p7 in the C11
standard.

"An inline definition does not provide an external definition for the function,
and does not forbid an external definition in another translation unit."

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]