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

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Jun 28 17:52:00 GMT 2011


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



More information about the Gcc-patches mailing list