https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87780
Bug ID: 87780
Summary: [9 regression] ICE error: unrecognizable insn
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: romain.geissler at amadeus dot com
Target Milestone: ---
Hi,
I have the following ICE when building llvm+clang+lld 7.0.0 (PGO + LTO profile)
on x64 with gcc from 28/10/2018 (while it was working fine with gcc from
11/10/2018):
/workdir/src/llvm-7.0.0.src/tools/clang/lib/Sema/TreeTransform.h:5222:1: error:
unrecognizable insn:
5222 | }
| ^
(insn 1262 1261 1263 2 (set (reg:V1TI 678)
(reg:TI 1 dx [ TL ]))
"/workdir/src/llvm-7.0.0.src/tools/clang/lib/Sema/TreeTransform.h":5212:1 -1
(nil))
during RTL pass: subreg2
/workdir/src/llvm-7.0.0.src/tools/clang/lib/Sema/TreeTransform.h:5222:1:
internal compiler error: in extract_insn, at recog.c:2305
0xfb86cb ???
/workdir/src/gcc-9.0.0/gcc/rtl-error.c:108
0xfb86e7 ???
/workdir/src/gcc-9.0.0/gcc/rtl-error.c:116
0x90ac09 ???
/workdir/src/gcc-9.0.0/gcc/recog.c:2305
0x179be75 ???
/workdir/src/gcc-9.0.0/gcc/lower-subreg.c:1483
0x180b49d ???
/workdir/src/gcc-9.0.0/gcc/lower-subreg.c:1750
0x12750d6 ???
/workdir/src/gcc-9.0.0/gcc/passes.c:2428
0x12e9abc ???
/workdir/src/gcc-9.0.0/gcc/passes.c:2517
0x14dd528 ???
/workdir/src/gcc-9.0.0/gcc/cgraphunit.c:2194
0x12727ca ???
/workdir/src/gcc-9.0.0/gcc/cgraphunit.c:2332
0x1268677 ???
/workdir/src/gcc-9.0.0/gcc/cgraphunit.c:2861
0x1240f3a ???
/workdir/src/gcc-9.0.0/gcc/toplev.c:480
0x11b05c6 ???
/workdir/src/gcc-9.0.0/gcc/toplev.c:2172
0x11af92a ???
/workdir/src/gcc-9.0.0/gcc/main.c:39
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.
ninja: build stopped: subcommand failed.
Cheers,
Romain