[Bug rtl-optimization/45353] New: ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable()
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Fri Aug 20 11:34:00 GMT 2010
Command line:
$ gcc -O -fschedule-insns -fselective-scheduling testcase.c
Compiler output:
$ gcc -O -fschedule-insns -fselective-scheduling testcase.ctestcase.c: In
function 'foo':
testcase.c:4:1: internal compiler error: RTL check: expected elt 3 type 'B',
have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
----- testcase.c ----
void foo ()
{
__builtin_unreachable ();
}
---------------------
Current testcases from testsuite, such as gcc.dg/builtin-unreachable-3.c, ICE
as well with given flags.
Tested revisions:
r163371 - crash
--
Summary: ICE: RTL check: expected elt 3 type 'B', have '0' (rtx
barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -
fselective-scheduling and __builtin_unreachable()
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45353
More information about the Gcc-bugs
mailing list