[Bug lto/83375] partitioner partitions static arrays with label references
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Thu Oct 11 12:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83375
--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> ---
> > 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.
In most cases we get lucky as we home variables into same partition as
function,
so the issue does not trigger that often. Still will try to find time to fix
it
this stage1.
Honza
More information about the Gcc-bugs
mailing list