https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89147
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- For toplevel asms providing global symbols there's no good solution than build the TUs with those with -fno-lto. LTO doesn't know the asm defines the symbol and there's currently no way to tell it. There are duplicates of this bug.