From patchwork Tue Jun 28 17:09:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 102426 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 03CE6B6F53 for ; Wed, 29 Jun 2011 03:09:40 +1000 (EST) Received: (qmail 13368 invoked by alias); 28 Jun 2011 17:09:37 -0000 Received: (qmail 13359 invoked by uid 22791); 28 Jun 2011 17:09:36 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Jun 2011 17:09:21 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 056C1908; Tue, 28 Jun 2011 19:09:20 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3YrG9yUBbT-n; Tue, 28 Jun 2011 19:09:18 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 074BB907; Tue, 28 Jun 2011 19:09:17 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p5SH9HxS023244; Tue, 28 Jun 2011 19:09:17 +0200 (MEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Xinliang David Li Subject: [testsuite] Remove dg-extra-errors in gcc.dg/inline_[12].c etc. Date: Tue, 28 Jun 2011 19:09:17 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes 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 Three new testcases seem to XPASS everywhere, at least on all of my targets: XPASS: gcc.dg/inline_1.c (test for excess errors) XPASS: gcc.dg/inline_2.c (test for excess errors) XPASS: gcc.dg/unroll_1.c (test for excess errors) The following patch fixes this to remove the noise. Tested with the appropriate runtest invocation on i386-pc-solaris2.10. Ok for mainline? Rainer 2011-06-28 Rainer Orth * gcc.dg/inline_1.c: Remove dg-excess-errors. * gcc.dg/inline_2.c: Likewise. * gcc.dg/unroll_1.c: Likewise. Index: gcc/testsuite/gcc.dg/inline_2.c =================================================================== --- gcc/testsuite/gcc.dg/inline_2.c (revision 175590) +++ gcc/testsuite/gcc.dg/inline_2.c (working copy) @@ -20,4 +20,3 @@ /* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ -/* { dg-excess-errors "extra notes" } */ Index: gcc/testsuite/gcc.dg/inline_1.c =================================================================== --- gcc/testsuite/gcc.dg/inline_1.c (revision 175590) +++ gcc/testsuite/gcc.dg/inline_1.c (working copy) @@ -20,4 +20,3 @@ /* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ -/* { dg-excess-errors "extra notes" } */ Index: gcc/testsuite/gcc.dg/unroll_1.c =================================================================== --- gcc/testsuite/gcc.dg/unroll_1.c (revision 175590) +++ gcc/testsuite/gcc.dg/unroll_1.c (working copy) @@ -30,4 +30,3 @@ /* { dg-final { scan-rtl-dump-times "Decided to peel loop completely" 2 "loop2_unroll" } } */ /* { dg-final { cleanup-rtl-dump "loop2_unroll" } } */ -/* { dg-excess-errors "extra notes" } */