This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12973] New: libjava verify.cc build failure at -O1
- From: "bryce at mckinlay dot net dot nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2003 00:27:46 -0000
- Subject: [Bug optimization/12973] New: libjava verify.cc build failure at -O1
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc version 3.4 20031108 (experimental)
Using CXXFLAGS="-O1", libjava fails to build with the following error:
../../../libjava/verify.cc: In member function `void _Jv_BytecodeVerifier::verify_instructions_0()':
../../../libjava/verify.cc:101: error: unrecognizable insn:
(insn 23071 1289 23072 83 ../../../libjava/verify.cc:553 (set (reg:CC %eflags)
(compare:CC (mem:QI (plus:SI (mem/s/j:SI (plus:SI (reg/v/f:SI 242 [ copy ])
(const_int 16 [0x10])) [0 <variable>.local_changed+0 S4 A32])
(reg/v:SI 270 [ i ])) [0 S1 A8])
(const_int 1 [0x1]))) -1 (nil)
(nil))
../../../libjava/verify.cc:101: internal compiler error: in extract_insn, at recog.c:2061
It only fails at -O1. At -O0, -O2, or -O3, the compile succeeds.
--
Summary: libjava verify.cc build failure at -O1
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bryce at mckinlay dot net dot nz
CC: gcc-bugs at gcc dot gnu dot org,mark at klomp dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12973