From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1649 invoked by alias); 23 Apr 2012 17:00:20 -0000 Received: (qmail 1572 invoked by uid 22791); 23 Apr 2012 17:00:17 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-yw0-f47.google.com (HELO mail-yw0-f47.google.com) (209.85.213.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Apr 2012 17:00:00 +0000 Received: by yhjj56 with SMTP id j56so6774862yhj.20 for ; Mon, 23 Apr 2012 09:59:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.175.164 with SMTP id z24mr15646070yhl.101.1335200399142; Mon, 23 Apr 2012 09:59:59 -0700 (PDT) Received: by 10.101.118.15 with HTTP; Mon, 23 Apr 2012 09:59:59 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 Apr 2012 17:00:00 -0000 Message-ID: Subject: Re: A case where PHI-OPT pessimizes the code From: Steven Bosscher To: Richard Guenther Cc: GCC Mailing List , Richard Guenther , Alan Modra Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg00794.txt.bz2 On Mon, Apr 23, 2012 at 2:50 PM, Steven Bosscher wrote: > I will file a PR for this later today, maybe after trying on a few > other targets to see if this is a middle-end problem or a target > issue. This is now PR target/53087 (http://gcc.gnu.org/PR53087). Actually the poor code looks to be coming from the &-operation, not from the _Bool->int conversion. But I don't know enough powerpc-speak to be sure... Ciao! Steven