This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/61635] LTO partitioner does not handle &&label in statics
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 Jun 2014 21:54:57 +0000
- Subject: [Bug lto/61635] LTO partitioner does not handle &&label in statics
- Auto-submitted: auto-generated
- References: <bug-61635-4 at http dot gcc dot gnu dot org/bugzilla/>
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