http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46642
Summary: ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7095 with -fsel-sched-pipelining -fselective-scheduling2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Target: x86_64-pc-linux-gnu Following two testcases are simpler than PR46521 and PR46522, and they need only basic flags to reproduce: -O -fschedule-insns2 -fsel-sched-pipelining -fselective-scheduling2 Compiler output: $ gcc -O -fschedule-insns2 -fsel-sched-pipelining -fselective-scheduling2 testcase.c testcase.c: In function 'foo': testcase.c:21:1: internal compiler error: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7095 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r167054 - crash 4.5 r166509 - crash 4.4 r166509 - crash