[Bug c/86360] "inline" (and neither static nor extern) function not emitted.
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 29 09:57:00 GMT 2018
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."
More information about the Gcc-bugs
mailing list