[Bug lto/83375] partitioner partitions static arrays with label references

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 11 11:59:00 GMT 2018


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.


More information about the Gcc-bugs mailing list