15396 – [3.4 only][sh-linux] ICE with -O2 -fPIC (original) (raw)
Description sugioka 2004-05-12 14:30:51 UTC
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'.