This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC
- From: "sugioka at itonet dot co dot jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2004 14:30:53 -0000
- Subject: [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached code ICE's with '-m4 -O2 -fPIC'.
$ sh-linux-gcc -O2 -fPIC -m4 -c XExtInt.i
XExtInt.c: In function `XInputWireToEvent':
XExtInt.c:663: error: unrecognizable insn:
(insn 2736 2735 2737 (unspec_volatile [
(label_ref 775)
(const_int 0 [0x0])
] 4) -1 (nil)
(nil))
XExtInt.c:663: internal compiler error: in insn_default_length, at insn-
attrtab.c:709
It correctly compiles with '-m4 -O -fPIC'.
--
Summary: [3.4][sh-linux] ICE with -O2 -fPIC
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sugioka at itonet dot co dot jp
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15396