From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44005 invoked by alias); 20 Jun 2015 08:21:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 43988 invoked by uid 48); 20 Jun 2015 08:21:42 -0000 From: "ysato at users dot sourceforge.jp" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66611] New: SH: ICE on -O2 Date: Sat, 20 Jun 2015 08:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ysato at users dot sourceforge.jp X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg01812.txt.bz2 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 for instructions.