https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83398
Bug ID: 83398 Summary: [8 Regression] ICE: in try_ready, at haifa-sched.c:7524 with -O2 -fsched2-use-superblocks -g Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Compiler output: $ x86_64-pc-linux-gnu-gcc -O2 -fsched2-use-superblocks -g testcase.c during RTL pass: sched2 testcase.c: In function 'foo': testcase.c:16:1: internal compiler error: in try_ready, at haifa-sched.c:7524 } ^ 0x16a5e51 try_ready(rtx_insn*) /repo/gcc-trunk/gcc/haifa-sched.c:7520 0x17273d3 init_ready_list /repo/gcc-trunk/gcc/sched-ebb.c:129 0x16a963e schedule_block(basic_block_def**, void*) /repo/gcc-trunk/gcc/haifa-sched.c:6522 0x1727af0 schedule_ebb(rtx_insn*, rtx_insn*, bool) /repo/gcc-trunk/gcc/sched-ebb.c:537 0x17282b6 schedule_ebbs() /repo/gcc-trunk/gcc/sched-ebb.c:657 0xe0b254 rest_of_handle_sched2 /repo/gcc-trunk/gcc/sched-rgn.c:3735 0xe0b254 execute /repo/gcc-trunk/gcc/sched-rgn.c:3873 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-trunk-255576-checking-yes-rtl-df-extra-nographite-amd64/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-255576-checking-yes-rtl-df-extra-nographite-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --without-cloog --without-ppl --without-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-255576-checking-yes-rtl-df-extra-nographite-amd64 Thread model: posix gcc version 8.0.0 20171212 (experimental) (GCC) Tested revisions: r255581 - FAIL r255576 - FAIL r255554 - OK