http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60268
Bug ID: 60268 Summary: [4.9 regression] ICE: in rank_for_schedule, at haifa-sched.c:2557 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com r207791 PASS r207850 FAIL $ cat x.i void f() { int i = 0; void *p = 0; } $ /usr/local/gcc_current/bin/gcc -fpreprocessed -O0 -flive-range-shrinkage -c x.i x.i: In function 'f': x.i:5:1: internal compiler error: in rank_for_schedule, at haifa-sched.c:2557 } ^ 0x13c6f41 rank_for_schedule /home/dimhen/src/gcc_current/gcc/haifa-sched.c:2557 0x13c7895 swap_sort /home/dimhen/src/gcc_current/gcc/haifa-sched.c:2714 0x13c7895 ready_sort(ready_list*) /home/dimhen/src/gcc_current/gcc/haifa-sched.c:2926 0x13d0727 schedule_block(basic_block_def**, void*) /home/dimhen/src/gcc_current/gcc/haifa-sched.c:6096 0xa1421a schedule_region /home/dimhen/src/gcc_current/gcc/sched-rgn.c:3080 0xa1421a schedule_insns /home/dimhen/src/gcc_current/gcc/sched-rgn.c:3416 0xa1461b schedule_insns /home/dimhen/src/gcc_current/gcc/sched-rgn.c:3401 0xa1461b rest_of_handle_live_range_shrinkage /home/dimhen/src/gcc_current/gcc/sched-rgn.c:3614 0xa1461b execute /home/dimhen/src/gcc_current/gcc/sched-rgn.c:3704 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. Fedora 20/x64 $ /usr/local/gcc_current/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc_current/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /home/dimhen/src/gcc_current/configure --prefix=/usr/local/gcc_current --enable-checking=yes,df,fold,rtl,tree --enable-languages=c,c++,lto --enable-plugin --with-tune=native --with-arch=native --enable-version-specific-runtime-libs --enable-static --disable-multilib Thread model: posix gcc version 4.9.0 20140218 (experimental) [trunk revision 207850] (GCC)