From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1401 invoked by alias); 10 Jan 2014 16:55:21 -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 1345 invoked by uid 55); 10 Jan 2014 16:55:18 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/54300] [4.7, 4.8 Regression] regcprop incorrectly looks through parallel register swap operation Date: Fri, 10 Jan 2014 16:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: major X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 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: 2014-01/txt/msg01135.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54300 --- Comment #17 from Richard Earnshaw --- Author: rearnsha Date: Fri Jan 10 16:54:43 2014 New Revision: 206533 URL: http://gcc.gnu.org/viewcvs?rev=206533&root=gcc&view=rev Log: PR rtl-optimization/54300 gcc: * regcprop.c (copyprop_hardreg_forward_1): Ensure any unused outputs in a single-set are killed from the value chains. gcc/testsuite: * gcc.target/arm/pr54300.C: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.target/arm/pr54300.C Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/regcprop.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog