This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, mudflap]: "Fix" libmudflap.c++/pass57-frag.cxx FAILs


Hello!

libmudflap.c++/pass57-frag.cxx test fails with:

/home/uros/gcc-svn/trunk/libmudflap/testsuite/libmudflap.c++/pass57-frag.cxx:25:1:
warning: mudflap cannot track unknown size extern â_S_empty_rep_storageâ
[-Wmudflap]

_S_empty_rep_storage is defined in
libstdc++-v3/include/bits/basic_string.h, and generated warning for this
implementation detail is irrelevant to the purpose of this test.

Attached patch fixes libmudflap.c++/pass57-frag.cxx by adding dg-bogus
directive.

2010-04-30  Uros Bizjak  <ubizjak@gmail.com>

	* testsuite/libmudflap.c++/pass57-frag.c: Add dg-bogus directive.

Patch was tested on x86_64-pc-linux-gnu and clears all pass57-frag.cxx
FAILs.

OK for mainline?

Uros.

Index: testsuite/libmudflap.c++/pass57-frag.cxx
===================================================================
--- testsuite/libmudflap.c++/pass57-frag.cxx	(revision 158904)
+++ testsuite/libmudflap.c++/pass57-frag.cxx	(working copy)
@@ -23,3 +23,6 @@
 {
   return 0;
 }
+
+// Ignore a warning that is irrelevant to the purpose of this test.
+// { dg-bogus "mudflap cannot track" "" { xfail *-*-* } 25 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]