From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2871 invoked by alias); 9 Sep 2008 01:39:31 -0000 Received: (qmail 2629 invoked by uid 48); 9 Sep 2008 01:38:09 -0000 Date: Tue, 09 Sep 2008 01:39:00 -0000 Message-ID: <20080909013809.2628.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/14792] ((int)b & 1) != 0 is not folded to b & 1 != 0 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia 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-09/txt/msg01008.txt.bz2 ------- Comment #8 from pinskia at gcc dot gnu dot org 2008-09-09 01:38 ------- (In reply to comment #7) > The testcase from comment #1 is fixed on the trunk. Not for Powerpc64: .L.foo: mflr 0 std 0,16(1) nop nop lbz 0,0(3) stdu 1,-112(1) rldicl. 9,0,0,63 beq 0,.L5 beq 0,.L7 .L5: addi 1,1,112 ld 0,16(1) mtlr 0 blr .p2align 4,,15 .L7: bl link_error nop addi 1,1,112 ld 0,16(1) mtlr 0 blr -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14792