https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65576
Bug ID: 65576 Summary: ICE in gcc.c-torture/compile/pr33855.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 gcc.c-torture/compile/pr33855.c test with yesterday's trunk (r221640) on powerpc64 (a POWER7 processor) fails with the ICE below. Adding #include <complex.h> doesn't help. I don't see this ICE on powerpc64le. $ gcc -O2 -c /src/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33855.c /src/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33855.c: In function ‘foo’: /src/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33855.c:21:11: warning: implicit declaration of function ‘cabsl’ [-Wimplicit-function-declaration] if (cabsl(vsorc.vqd[indx]) < 1.e-20) ^ /src/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33855.c:21:11: warning: incompatible implicit declaration of built-in function ‘cabsl’ /src/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33855.c:21:11: note: include ‘<complex.h>’ or provide a declaration of ‘cabsl’ /src/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33855.c:27:1: error: unrecognizable insn: } ^ (insn 130 129 44 5 (set (reg:DF 10 10) (mem/u/c:DF (symbol_ref/u:DI ("*.LC5") [flags 0x82]) [8 S8 A64])) /src/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33855.c:20 -1 (nil)) /src/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33855.c:27:1: internal compiler error: in extract_insn, at recog.c:2343 0x107a403b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /src/gcc-trunk/gcc/rtl-error.c:110 0x107a408f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /src/gcc-trunk/gcc/rtl-error.c:118 0x10769a27 extract_insn(rtx_insn*) /src/gcc-trunk/gcc/recog.c:2343 0x10769ae7 extract_insn_cached(rtx_insn*) /src/gcc-trunk/gcc/recog.c:2234 0x1048f677 cleanup_subreg_operands(rtx_insn*) /src/gcc-trunk/gcc/final.c:3137 0x107a15d7 reload(rtx_insn*, int) /src/gcc-trunk/gcc/reload1.c:1278 0x1062ec17 do_reload /src/gcc-trunk/gcc/ira.c:5430 0x1062ec17 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.