From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27354 invoked by alias); 26 Feb 2013 10:31:15 -0000 Received: (qmail 27342 invoked by uid 22791); 26 Feb 2013 10:31:13 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Feb 2013 10:30:59 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id r1QAUoXl087595 ; Tue, 26 Feb 2013 11:30:51 +0100 (CET) X-Envelope-To: gcc-patches@gcc.gnu.org Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id D68CD3BE18; Tue, 26 Feb 2013 11:30:50 +0100 (CET) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ILmwVrj8XOJN; Tue, 26 Feb 2013 11:30:50 +0100 (CET) Received: by mailhost.lps.ens.fr (Postfix, from userid 8513) id C52B93BE1D; Tue, 26 Feb 2013 11:30:50 +0100 (CET) Date: Tue, 26 Feb 2013 10:31:00 -0000 To: gcc-patches@gcc.gnu.org Cc: iain@codesourcery.com, mikestump@comcast.net, davidxl@google.com, ro@CeBiTec.Uni-Bielefeld.DE Subject: [testsuite] Remove dg-excess-errors in gcc.dg/inline_[34].c and unroll_[234].c User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20130226103050.C52B93BE1D@mailhost.lps.ens.fr> From: dominiq@lps.ens.fr (Dominique Dhumieres) 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: 2013-02/txt/msg01155.txt.bz2 The following tests XPASS on i?86-*-linux* and x86_64-*-linux* (see, e.g., http://gcc.gnu.org/ml/gcc-testresults/2013-02/msg02923.html ) XPASS: gcc.dg/inline_3.c (test for excess errors) XPASS: gcc.dg/inline_4.c (test for excess errors) XPASS: gcc.dg/unroll_2.c (test for excess errors) XPASS: gcc.dg/unroll_3.c (test for excess errors) XPASS: gcc.dg/unroll_4.c (test for excess errors) The following patch fixes this to remove the noise. In addition I do not see why this tests should be restricted to i?86-*-linux* and x86_64-*-linux* (the other tests inline_[12].c and unroll_[15] have no restrictions). Tested on powerpc-apple-darwin9 and x86_64-apple-darwin10. Ok for mainline? If yes, could someone commit the patch since I don't have write access? Dominique 2013-02-26 Dominique d'Humieres * gcc.dg/inline_3.c: Remove target and dg-excess-errors. * gcc.dg/inline_4.c: Likewise. * gcc.dg/unroll_2.c: Likewise. * gcc.dg/unroll_3.c: Likewise. * gcc.dg/unroll_4.c: Likewise. --- ../_clean/gcc/testsuite/gcc.dg/inline_3.c 2011-06-21 09:13:05.000000000 +0200 +++ gcc/testsuite/gcc.dg/inline_3.c 2013-02-03 19:25:05.000000000 +0100 @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-linux* x86_64-*-linux* } } */ +/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=foo,foo2 -fdisable-ipa-inline -Wno-attributes" } */ int g; __attribute__((always_inline)) void bar (void) @@ -20,4 +20,3 @@ int foo2 (void) /* { dg-final { scan-tree-dump-times "bar" 5 "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ -/* { dg-excess-errors "extra notes" } */ --- ../_clean/gcc/testsuite/gcc.dg/inline_4.c 2011-06-21 09:13:05.000000000 +0200 +++ gcc/testsuite/gcc.dg/inline_4.c 2013-02-03 19:25:20.000000000 +0100 @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-linux* x86_64-*-linux* } } */ +/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=foo2 -fdisable-ipa-inline -Wno-attributes" } */ int g; __attribute__((always_inline)) void bar (void) @@ -20,4 +20,3 @@ int foo2 (void) /* { dg-final { scan-tree-dump-times "bar" 4 "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ -/* { dg-excess-errors "extra notes" } */ --- ../_clean/gcc/testsuite/gcc.dg/unroll_2.c 2013-01-03 10:46:27.000000000 +0100 +++ gcc/testsuite/gcc.dg/unroll_2.c 2013-02-03 19:25:43.000000000 +0100 @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-linux* x86_64-*-linux* } } */ +/* { dg-do compile } */ /* { dg-options "-O2 -fdump-rtl-loop2_unroll -fno-peel-loops -fdisable-tree-cunroll=foo -fdisable-tree-cunrolli=foo -fenable-rtl-loop2_unroll" } */ unsigned a[100], b[100]; @@ -30,4 +30,3 @@ int foo2(void) /* { dg-final { scan-rtl-dump-times "Turned loop into non-loop; it never loops" 1 "loop2_unroll" } } */ /* { dg-final { cleanup-rtl-dump "loop2_unroll" } } */ -/* { dg-excess-errors "extra notes" } */ --- ../_clean/gcc/testsuite/gcc.dg/unroll_3.c 2013-01-03 10:46:27.000000000 +0100 +++ gcc/testsuite/gcc.dg/unroll_3.c 2013-02-03 19:25:55.000000000 +0100 @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-linux* x86_64-*-linux* } } */ +/* { dg-do compile } */ /* { dg-options "-O2 -fdump-rtl-loop2_unroll -fno-peel-loops -fdisable-tree-cunroll -fdisable-tree-cunrolli -fenable-rtl-loop2_unroll=foo" } */ unsigned a[100], b[100]; @@ -30,4 +30,3 @@ int foo2(void) /* { dg-final { scan-rtl-dump-times "Turned loop into non-loop; it never loops" 1 "loop2_unroll" } } */ /* { dg-final { cleanup-rtl-dump "loop2_unroll" } } */ -/* { dg-excess-errors "extra notes" } */ --- ../_clean/gcc/testsuite/gcc.dg/unroll_4.c 2013-01-03 10:46:27.000000000 +0100 +++ gcc/testsuite/gcc.dg/unroll_4.c 2013-02-03 19:26:10.000000000 +0100 @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-linux* x86_64-*-linux* } } */ +/* { dg-do compile } */ /* { dg-options "-O2 -fdump-rtl-loop2_unroll -fno-peel-loops -fdisable-tree-cunroll -fdisable-tree-cunrolli -fenable-rtl-loop2_unroll=foo2" } */ unsigned a[100], b[100]; @@ -30,4 +30,3 @@ int foo2(void) /* { dg-final { scan-rtl-dump-times "Turned loop into non-loop; it never loops" 1 "loop2_unroll" } } */ /* { dg-final { cleanup-rtl-dump "loop2_unroll" } } */ -/* { dg-excess-errors "extra notes" } */