[Bug lto/61635] LTO partitioner does not handle &&label in statics

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Sat Jun 28 21:55:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61635

--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> ---
> Yes it uses -fno-toplevel-reordering to avoid the problems with the initializer
> reordering.
> 
> I tried some workarounds for this, but nothing worked so far. Likely would need
> a noreorder attribute.

Actually I think other chance to make this to fail is when the address/value of
the local static
is propagated by ipa-prop into some extra function...

Perhaps as a workaround in 4.9 we may disable such a propagation.
Honza



More information about the Gcc-bugs mailing list