From patchwork Fri Jun 29 13:56:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 168108 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 58897B6F77 for ; Fri, 29 Jun 2012 23:56:37 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1341582998; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:Subject:Message-ID:User-Agent:MIME-Version:Content-Type: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=Tjs9TDwGGW+S1aYnqwGo Ebzm3wQ=; b=QMrIAW9J5Hy+i4x1ag7e1FjpxI2Q0eTEe8OEO/eIp1jQIfg2JXe7 rp3tBWW+SqvEVSJI3Xs+4XC9JvP9BYXqyrRJZjA8FFotVdyvBzpZsjhszhoLmZjG vKhrIop8BbEtz8+DTwuIv2tRKcZxcZBjC2oKmMkejWHA5R0GzgTgZ+w= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Date:From:To:Subject:Message-ID:User-Agent:MIME-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=SRdmMPi9B6MB5re37wh5gZlOFyo8tCU98jhhA+Jo9rx8WKdkZh/8VFSOVieF86 fIV/uT272BIzAoJwWcpTvgbDvt8PFCPM1XpQALVI9BCm1W2ulJERXBEK5VX2wm0y 5k0DkO5Ni80S+6nyjQC10FSUPgnG8uwEPjnIX7Tt9yYhs=; Received: (qmail 5273 invoked by alias); 29 Jun 2012 13:56:33 -0000 Received: (qmail 5260 invoked by uid 22791); 29 Jun 2012 13:56:32 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 29 Jun 2012 13:56:19 +0000 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id C235BA0FF5 for ; Fri, 29 Jun 2012 15:56:18 +0200 (CEST) Date: Fri, 29 Jun 2012 15:56:18 +0200 (CEST) From: Richard Guenther To: gcc-patches@gcc.gnu.org Subject: [PATCH] Adjust gcc.dg/tree-ssa/pr37508.c for PR37541 Message-ID: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Tested on x86_64-unknown-linux-gnu, applied. Richard. 2012-06-29 Richard Guenther PR tree-optimization/37541 * gcc.dg/tree-ssa/pr37508.c: Adjust and un-XFAIL. Index: gcc/testsuite/gcc.dg/tree-ssa/pr37508.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/pr37508.c (revision 189072) +++ gcc/testsuite/gcc.dg/tree-ssa/pr37508.c (working copy) @@ -30,7 +30,7 @@ int test3 (struct foo1 *x) { if (x->i == 0) return 1; - else if (x->i == 1) + else if (x->i == 1) /* This test is already folded to false by fold. */ return 1; return 0; } @@ -44,5 +44,5 @@ int test4 (struct foo2 *x) return 0; } -/* { dg-final { scan-tree-dump-times "Folding" 4 "vrp1" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "Folding" 3 "vrp1" } } */ /* { dg-final { cleanup-tree-dump "vrp1" } } */