[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

siarhei dot siamashka at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon May 3 23:45:00 GMT 2010



------- Comment #15 from siarhei dot siamashka at gmail dot com  2010-05-03 23:45 -------
As found by Raúl, indeed this regression was introduced in r150091. Reverting
this change in gcc 4.5.0 release resolves the problem.

Apparently the use of __builtin_unreachable() in gcc_assert macro (activated by
!ENABLE_ASSERT_CHECKING) is triggering some kind of wrong-code bug on non
x86/x86-64 platforms (at least arm and powerpc) and causes this bootstrap
failure.

There are some other __builtin_unreachable bugs in gcc bugzilla which are
possibly related.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42347



More information about the Gcc-bugs mailing list