This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]