[Bug rtl-optimization/54455] [4.7/4.8 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in compute_bb_for_insn, at cfgrtl.c:418

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Mon Sep 3 17:45:00 GMT 2012


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

--- Comment #13 from Zdenek Sojka <zsojka at seznam dot cz> 2012-09-03 17:44:57 UTC ---
(In reply to comment #12)
> If I remember correctly, the original testcase ICEs the same way with -O.
> eg.
> $ gcc -fschedule-insns -fselective-scheduling --param
> max-sched-extend-regions-iters=8 gcc.c-torture/compile/pr51767.c -O
> 
> This reduced testcase ICEs at a different place with -O. (I cannot test it
> right now)

Actually, with -O1, the ICE is at a different place:
$ gcc -fschedule-insns -fselective-scheduling --param
max-sched-extend-regions-iters=8 gcc.c-torture/compile/pr51767.c -O
gcc.c-torture/compile/pr51767.c: In function ‘bar’:
gcc.c-torture/compile/pr51767.c:23:1: internal compiler error: RTL check:
expected elt 3 type 'B', have '0' (rtx barrier) in rtl_verify_flow_info_1, at
cfgrtl.c:2052
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

So it might be a different problem.



More information about the Gcc-bugs mailing list