This is the mail archive of the 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


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

warning: mudflap cannot track unknown size extern â_S_empty_rep_storageâ

_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

2010-04-30  Uros Bizjak  <>

	* 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

OK for mainline?


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]