------- Comment #8 from zsojka at seznam dot cz 2010-06-10 15:45 ------- Is there a chance this will be backported to 4.5? As Jakub pointed out at PR44178/comment #7, gcc 4.5 r160526 (with RTL checking) fails on this testcase with:
$ gcc -fsched-pressure -fschedule-insns pr43332/testcase.c pr43332/testcase.c: In function ‘main’: pr43332/testcase.c:5:1: internal compiler error: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in setup_insn_max_reg_pressure, at haifa-sched.c:1589 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. It also fails on testsuite/g++.dg/debug/pr44178.C when built with RTL checking. When r159545 is backported to 4.5, everything works fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43332