https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65577
Bug ID: 65577 Summary: ICE on g++.dg/torture/pr58369.C Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Compiling the g++.dg/torture/pr58369.C test with yesterday's trunk (r221640) on powerpc64 (a POWER7 processor) fails with the ICE below. Interestingly, the ICE disappears with -O1. On powerpc64le gcc compiles the test successfully. $ g++ -O0 -c /src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C /src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C: In function ‘T ellint_rj_imp(T, T, T, T, Policy&) [with T = long double; Policy = PolicyA]’: /src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C:88:1: error: unrecognizable insn: } ^ (insn 248 247 99 8 (set (reg:DF 10 10) (mem/u/c:DF (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [0 S8 A64])) /src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C:70 -1 (nil)) /src/gcc-trunk/gcc/testsuite/g++.dg/torture/pr58369.C:88:1: internal compiler error: in extract_insn, at recog.c:2343 0x109c9f1b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /src/gcc-trunk/gcc/rtl-error.c:110 0x109c9f6f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /src/gcc-trunk/gcc/rtl-error.c:118 0x1098f907 extract_insn(rtx_insn*) /src/gcc-trunk/gcc/recog.c:2343 0x1098f9c7 extract_insn_cached(rtx_insn*) /src/gcc-trunk/gcc/recog.c:2234 0x106b6817 cleanup_subreg_operands(rtx_insn*) /src/gcc-trunk/gcc/final.c:3137 0x109c74b7 reload(rtx_insn*, int) /src/gcc-trunk/gcc/reload1.c:1278 0x10854af7 do_reload /src/gcc-trunk/gcc/ira.c:5430 0x10854af7 execute /src/gcc-trunk/gcc/ira.c:5589 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.