From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22866 invoked by alias); 10 Aug 2012 15:40:23 -0000 Received: (qmail 22856 invoked by uid 22791); 10 Aug 2012 15:40:21 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Aug 2012 15:40:08 +0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54089] [SH] Refactor shift patterns Date: Fri, 10 Aug 2012 15:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: olegendo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-08/txt/msg00612.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #11 from Oleg Endo 2012-08-10 15:40:07 UTC --- (In reply to comment #10) > Created attachment 27985 [details] > preprocessed src > > ./xgcc -B. -w ~/ice2.i -c -Os > /home/ryan/ice2.i: In function 'tg_extent': > /home/ryan/ice2.i:81:2: error: unrecognizable insn: > } > ^ > (insn 189 163 190 9 (set (reg:SI 227) > (ashift:SI (reg:SI 147 t) > (const_int 1 [0x1]))) /home/ryan/ice2.i:75 -1 > (nil)) > /home/ryan/ice2.i:81:2: internal compiler error: in extract_insn, at > recog.c:2125 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. Thanks for the test case! It turns out that this is basically the same ICE as triggered by your test case in PR 39423. I will include this test case in the next patch for PR 39423.