[Bug target/66611] New: SH: ICE on -O2

ysato at users dot sourceforge.jp gcc-bugzilla@gcc.gnu.org
Sat Jun 20 08:21:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66611

            Bug ID: 66611
           Summary: SH: ICE on -O2
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ysato at users dot sourceforge.jp
  Target Milestone: ---

Created attachment 35819
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35819&action=edit
problem source code

$ LANG=C sh-unknown-linux-gcc -O2 -mb -m2 w83627ehf.c
w83627ehf.c: In function 'show_caseopen':
w83627ehf.c:24361:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 118 95 119 2 (set (reg:SI 1 r1)
        (sign_extend:SI (mem:QI (plus:SI (reg/f:SI 8 r8 [175])
                    (const_int 12 [0xc])) [0 MEM[(struct
sensor_device_attribute_2 *)attr_6(D)].index+0 S1 A32]))) w83627ehf.c:24359 232
{*extendqisi2_compact_mem_disp}
     (nil))
w83627ehf.c:24361:1: internal compiler error: in extract_constrain_insn, at
recog.c:2221
0x94aed8 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:109
0x94aeff _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/rtl-error.c:120
0x9155f7 extract_constrain_insn(rtx_insn*)
        ../../gcc/recog.c:2221
0x918f86 copyprop_hardreg_forward_1
        ../../gcc/regcprop.c:800
0x919bed execute
        ../../gcc/regcprop.c:1290
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.



More information about the Gcc-bugs mailing list