Patchwork [libmudflap] : Fix libmudflap.c++/pass41-frag.cxx test for excess errors

login
register
mail settings
Submitter Uros Bizjak
Date Aug. 20, 2010, 7:17 a.m.
Message ID <AANLkTi=cOquw=HC8ERpBsySZKjHQ2LpSGWBkcK8USsiw@mail.gmail.com>
Download mbox | patch
Permalink /patch/62256/
State New
Headers show

Comments

Uros Bizjak - Aug. 20, 2010, 7:17 a.m.
Hello!

This patch applies the same cure to pass41-frag.cxx as was already
applied to pass57-frag.cxx.

2010-08-20  Uros Bizjak  <ubizjak@gmail.com>

	* testsuite/libmudflap.c++/pass41-frag.cxx (dg-prune-output):
	New dg directive.

Tested on alphaev68-pc-linux-gnu, committed to mainline SVN.

Uros.

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 163393)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2010-08-20  Uros Bizjak  <ubizjak@gmail.com>
+
+	* testsuite/libmudflap.c++/pass41-frag.cxx (dg-prune-output):
+	New dg directive.
+
 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
 
 	PR bootstrap/43170
Index: testsuite/libmudflap.c++/pass41-frag.cxx
===================================================================
--- testsuite/libmudflap.c++/pass41-frag.cxx	(revision 163393)
+++ testsuite/libmudflap.c++/pass41-frag.cxx	(working copy)
@@ -8,3 +8,6 @@ 
     std::cout << myStr << std::endl;
     return 0;
 }
+
+/* Ignore a warning that is irrelevant to the purpose of this test.  */
+/* { dg-prune-output ".*mudflap cannot track unknown size extern.*" } */