https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52571
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> --- We're already un-COMMONing variables when using LTO and the linker tells us this is possible. There may be more cases where it is possible but I guess the linker doesn't have a way to tell us that (no other definition than in IR files). The original bug has long been fixed.