http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422
Bug ID: 57422 Summary: [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 30196 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30196&action=edit reduced testcase Compiler output: $ gcc -O2 -fPIC -fno-omit-frame-pointer -fpeel-loops -fsched-pressure -fschedule-insns -fselective-scheduling2 --param=max-cse-insns=1 testcase.c testcase.c: In function 'test6': testcase.c:20:1: internal compiler error: Segmentation fault } ^ 0xa3896f crash_signal /mnt/svn/gcc-trunk/gcc/toplev.c:333 0x704fe6 dominated_by_p(cdi_direction, basic_block_def const*, basic_block_def const*) /mnt/svn/gcc-trunk/gcc/dominance.c:974 0xa01092 remove_insns_that_need_bookkeeping /mnt/svn/gcc-trunk/gcc/sel-sched.c:4906 0xa01092 fill_insns /mnt/svn/gcc-trunk/gcc/sel-sched.c:5592 0xa01092 schedule_on_fences /mnt/svn/gcc-trunk/gcc/sel-sched.c:7410 0xa01092 sel_sched_region_2 /mnt/svn/gcc-trunk/gcc/sel-sched.c:7544 0xa05725 sel_sched_region_1 /mnt/svn/gcc-trunk/gcc/sel-sched.c:7583 0xa05725 sel_sched_region(int) /mnt/svn/gcc-trunk/gcc/sel-sched.c:7684 0xa06ee9 run_selective_scheduling() /mnt/svn/gcc-trunk/gcc/sel-sched.c:7760 0x9d82e5 rest_of_handle_sched2 /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3606 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. $ gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-199337-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-199337-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 4.9.0 20130526 (experimental) (GCC) Tested revisions: r199337 - crash 4.8 r198018 - OK