Command line: $ gcc -O1 -frerun-cse-after-loop -ftree-vectorize -fschedule-insns -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-loops -fprefetch-loop-arrays testcase.c or $ gcc -O3 -fschedule-insns -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-loops -fprefetch-loop-arrays testcase.c
I came to this problem in several testcases, but the set of options could never be reduced more. Compiler output: $ gcc -O1 -frerun-cse-after-loop -ftree-vectorize -fschedule-insns -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-loops -fprefetch-loop-arrays testcase.c testcase.c: In function 'main1': testcase.c:10:1: internal compiler error: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r163371 - crash -- Summary: ICE: in reset_sched_cycles_in_current_ebb, at sel- sched.c:7058 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=45352