From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24387 invoked by alias); 2 Nov 2012 23:33:08 -0000 Received: (qmail 23678 invoked by uid 55); 2 Nov 2012 23:32:40 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/54524] [4.6/4.7/4.8 Regression] Spurious add on sum of bitshifts (forward-propagate issue) Date: Fri, 02 Nov 2012 23:33: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-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.4 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-11/txt/msg00190.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54524 --- Comment #7 from Andrew Pinski 2012-11-02 23:32:38 UTC --- Author: pinskia Date: Fri Nov 2 23:32:32 2012 New Revision: 193111 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193111 Log: 2012-11-02 Andrew Pinski PR rtl-opt/54524 * simplify-rtx.c (simplify_relational_operation_1): Don't simplify (LTU/GEU (PLUS a 0) 0) into (GEU/LTU a 0) since they are not equivalent. Modified: trunk/gcc/ChangeLog trunk/gcc/simplify-rtx.c