From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24862 invoked by alias); 13 May 2011 13:17:46 -0000 Received: (qmail 24852 invoked by uid 22791); 13 May 2011 13:17:45 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 May 2011 13:17:32 +0000 Received: by qwh5 with SMTP id 5so1457453qwh.20 for ; Fri, 13 May 2011 06:17:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.66.132 with SMTP id n4mr1125155qci.292.1305292651505; Fri, 13 May 2011 06:17:31 -0700 (PDT) Received: by 10.229.182.7 with HTTP; Fri, 13 May 2011 06:17:31 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 May 2011 13:58:00 -0000 Message-ID: Subject: Re: [patch gimplify]: Fix for PR/48984 From: "H.J. Lu" To: Kai Tietz Cc: GCC Patches , Richard Guenther Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg00967.txt.bz2 On Thu, May 12, 2011 at 11:59 PM, Kai Tietz wrote: > Hello, > > this patch fixes the issue reported in PR/48984. =A0Issue is that > fortran has multiple BOOLEAN_TYPE'ed types with different modes. So > the check for BOOLEAN_TYPE in gimplification is wrong and instead we > need to check for identify to boolean_type_node. > > ChangeLog > > 2011-05-13 =A0Kai Tietz > > =A0 =A0 =A0 =A0* gimplify.c (gimplify_expr): Check for boolean_type_node = instead > =A0 =A0 =A0 =A0for BOOLEAN_TYPE for TRUTH-NOT/AND/OR/XOR. > =A0 =A0 =A0 =A0(gimple_boolify): Check for cast for boolean_type_node ins= tead for > =A0 =A0 =A0 =A0BOOLEAN_TYPE. > > Bootstrap passed and now doing fortran testsuite run to verify. It isn't completed fixed. I still got FAIL: gcc.dg/tree-ssa/vrp47.c scan-tree-dump-times dom1 "x[^ ]* & y" 1 with revision 173729. --=20 H.J.