From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17967 invoked by alias); 3 Feb 2008 12:55:04 -0000 Received: (qmail 17824 invoked by uid 48); 3 Feb 2008 12:54:20 -0000 Date: Sun, 03 Feb 2008 12:55:00 -0000 Message-ID: <20080203125420.17823.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/34627] Incorrect branching with -Ox on hppa In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "steven at gcc dot gnu dot org" 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: 2008-02/txt/msg00287.txt.bz2 ------- Comment #9 from steven at gcc dot gnu dot org 2008-02-03 12:54 ------- Further investigation shows that simplify_if_then_else() called from combine.c:5211 (combine.c r131744) turns this: (if_then_else:SI (ge (reg/v:SI 94 [ i ]) (reg:SI 98)) (neg:SI (reg/v:SI 94 [ i ])) (reg/v:SI 94 [ i ])) into this: (neg:SI (abs:SI (reg/v:SI 94 [ i ]))) which is obviously wrong. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34627