This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50644] ICE in set_is_used added today
- From: "matz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 31 Oct 2011 13:37:33 +0000
- Subject: [Bug tree-optimization/50644] ICE in set_is_used added today
- Auto-submitted: auto-generated
- References: <bug-50644-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50644
--- Comment #18 from Michael Matz <matz at gcc dot gnu.org> 2011-10-31 13:37:33 UTC ---
Ah, wrong, native_cpu_up of course calls check_tsc_sync_source, which under
LTO can be inlined. So it's the same issues as PR50741, the patch from
there works around the issue. Unfortunately with the side-effect of removing
the second descriptor object (from check_tsc_sync_source) from the local_decls
list of native_cpu_up. This happens also before the patch when the segfault
is worked around by source changes (s/__func__/0/), so that's not a
regression.