https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72794
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- No, it's not a bug in the LTO phase - C99 inline simply does _not_ emit a out-of-line copy. You have to add a extern declaration to force that.