From patchwork Fri Aug 3 16:09:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 175013 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 1FDFB2C00A1 for ; Sat, 4 Aug 2012 02:18:16 +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=1344615497; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:Subject:From:To:Cc: Content-Type:Date:Message-ID:Mime-Version: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=E3DoLoGH89rwJ5D8lwO3+RR9WLI=; b=M0yzT32Y1hQbsso KlaJsdvd9+bEe9XX5k4URLnazUHY05IlUZi+huCF4P4MKO6n6YS6Gc+Fs7LYvdfu Y1pkTuUoOOpRjVwxqnYbe2D22OdOOIP7z8LyRka+mrA2L5bjxhBFIu3BWFMBPkmC nexR3DiitDHJu31r3VfSJUNQC424= 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:Received:Received:Received:Received:Received:Subject:From:To:Cc:Content-Type:Date:Message-ID:Mime-Version:Content-Transfer-Encoding:X-Content-Scanned:x-cbid:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=pvYQR/GSzzrI2zc+tLjJ6qOl9CtTiByaLmtykLC61ftNDqQT/stqam0n+LY6xS tIG+GrrY21qO6MyvxYC5hPgIcEIbhcZTf2PZGqhFudubtNTeW+wG6TBUMAv1iGkN rnYB42meEEWB3YuYit+fzcyrfsJ6vQ7wo2V7Lcu/czGZs=; Received: (qmail 25414 invoked by alias); 3 Aug 2012 16:18:10 -0000 Received: (qmail 25385 invoked by uid 22791); 3 Aug 2012 16:18:04 -0000 X-SWARE-Spam-Status: No, hits=-4.6 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 e33.co.us.ibm.com (HELO e33.co.us.ibm.com) (32.97.110.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Aug 2012 16:17:48 +0000 Received: from /spool/local by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 3 Aug 2012 10:17:45 -0600 Received: from d03dlp03.boulder.ibm.com (9.17.202.179) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 3 Aug 2012 10:16:46 -0600 Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 9DB7619D8048 for ; Fri, 3 Aug 2012 16:16:40 +0000 (WET) Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q73GFvp4101356 for ; Fri, 3 Aug 2012 10:15:57 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q73GFnZc029761 for ; Fri, 3 Aug 2012 10:15:55 -0600 Received: from [9.10.86.151] (gressett-6474cv1-r8dvc59.rchland.ibm.com [9.10.86.151]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q73G9WfO008124; Fri, 3 Aug 2012 10:09:32 -0600 Subject: [PATCH, committed] Fix PR53773 From: "William J. Schmidt" To: gcc-patches@gcc.gnu.org Cc: bergner@vnet.ibm.com Date: Fri, 03 Aug 2012 11:09:31 -0500 Message-ID: <1344010171.4868.2.camel@oc2474580526.ibm.com> Mime-Version: 1.0 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12080316-2398-0000-0000-0000091B0A42 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 Change this test case to use the optimized dump so that the unreliable vect-details dump can't cause different behavior on different targets. Verified on powerpc64-unknown-linux-gnu, committed as obvious. Thanks, Bill 2012-08-03 Bill Schmidt * testsuite/gcc.dg/vect/pr53773.c: Change to use optimized dump. Index: gcc/testsuite/gcc.dg/vect/pr53773.c =================================================================== --- gcc/testsuite/gcc.dg/vect/pr53773.c (revision 190018) +++ gcc/testsuite/gcc.dg/vect/pr53773.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-options "-fdump-tree-optimized" } */ int foo (int integral, int decimal, int power_ten) @@ -13,7 +14,7 @@ foo (int integral, int decimal, int power_ten) return integral+decimal; } -/* Two occurrences in annotations, two in code. */ -/* { dg-final { scan-tree-dump-times "\\* 10" 4 "vect" } } */ +/* { dg-final { scan-tree-dump-times "\\* 10" 2 "optimized" } } */ /* { dg-final { cleanup-tree-dump "vect" } } */ +/* { dg-final { cleanup-tree-dump "optimized" } } */