https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99115
Bug ID: 99115
Summary: ICE in extract_insn, at recog.c:2309 on hppa (error:
unrecognizable insn) with -O2
Product: gcc
Version: 8.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kurt at intricatesoftware dot com
Target Milestone: ---
Created attachment 50191
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50191&action=edit
testcase
Noticed while compiling src/deps_log.cc ninja 1.10.2 on hppa. I trimmed down
the file to test.cc.
g++ -O2 -c ./test.cc -o test.o
./test.cc: In member function 'LoadStatus DepsLog::Load(const string&, State*,
std::__cxx11::string*)':
./test.cc:176:1: error: unrecognizable insn:
}
^
(insn 218 217 219 25 (set (reg:DI 217)
(plus:DI (reg/f:DI 65 virtual-stack-vars)
(const_int -524292 [0xfffffffffff7fffc]))) "./test.cc":122 -1
(nil))
during RTL pass: vregs
./test.cc:176:1: internal compiler error: in extract_insn, at recog.c:2309