From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55153 invoked by alias); 26 Jun 2015 00:18: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 55081 invoked by uid 48); 26 Jun 2015 00:18:38 -0000 From: "kkojima at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler Date: Fri, 26 Jun 2015 00:18: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-Version: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kkojima at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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/msg02585.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #46 from Kazumoto Kojima --- (In reply to Oleg Endo from comment #45) > Kaz, I wanted to backport the patch to GCC 5. It doesn't apply because on > trunk gen_rtx_SET doesn't take a machine_mode arg. Since SET rtx is always > VOIDmode, it has been removed. In GCC 5 though, SImode is used for > gen_rtx_SET (see your comment #20). Why is that SImode? It should be > VOIDmode, shouldn't it? You are right. I should be VOIDmode, though SImode will work for these cases.