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.