http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48374
Summary: ICE: in single_succ_edge, at basic-block.h:562 with -fselective-scheduling2 and __builtin_unreachable() Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 23824 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23824 reduced testcase Compiler output: $ gcc -O -fschedule-insns2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -fselective-scheduling2 --param max-sched-extend-regions-iters=100 testcase.c testcase.c: In function 'foo': testcase.c:14:1: internal compiler error: in single_succ_edge, at basic-block.h:562 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r171735 - crash 4.6 r171597 - crash 4.5 r171597 - crash 4.4 r171597 - doesn't know __builtin_unreachable