Patchwork [testsuite] Remove dg-extra-errors in gcc.dg/inline_[12].c etc.

login
register
mail settings
Submitter Rainer Orth
Date June 28, 2011, 5:09 p.m.
Message ID <yddy60l6fya.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/102426/
State New
Headers show

Comments

Rainer Orth - June 28, 2011, 5:09 p.m.
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  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.dg/inline_1.c: Remove dg-excess-errors.
	* gcc.dg/inline_2.c: Likewise.
	* gcc.dg/unroll_1.c: Likewise.
Xinliang David Li - June 28, 2011, 5:21 p.m.
Your fix works ok for me (on x86-64/linux) too.

Thanks,

David

On Tue, Jun 28, 2011 at 10:09 AM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> 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  <ro@CeBiTec.Uni-Bielefeld.DE>
>
>        * 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" } */
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
Rainer Orth - June 29, 2011, 8:30 a.m.
David,

> Your fix works ok for me (on x86-64/linux) too.

based on that, I've installed the patch.

Thanks.
        Rainer

Patch

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" } */