https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83375
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Andi Kleen from comment #6) > This breaks Linux kernel LTO builds. I currently have a workaround > (disabling LTO for that file), but I don't think your "is not common" > argument is valid. Well, I guess pushing LTO into Linux kernel would be difficult task to achieve. Can you please point me to a source file where it's used? Note that I did experiments with openSUSE distribution and I haven't seen it for any core package when using -flto.