[PATCH, libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX
David Edelsohn
dje.gcc@gmail.com
Tue Nov 19 23:25:00 GMT 2013
The libstdc++ 17_intro/static.cc elicits multi-line AIX linker
warnings about TOC reload instructions. This patch adds dg-prune
directives to ignore the warnings and allow the testcase to pass.
Okay?
Thanks, David
* testsuite/17_intro/static.cc: Ignore AIX TOC reload warnings.
Index: testsuite/17_intro/static.cc
===================================================================
--- testsuite/17_intro/static.cc (revision 205054)
+++ testsuite/17_intro/static.cc (working copy)
@@ -29,3 +29,8 @@
std::cout << "i am old-skool\n";
return 0;
}
+// Ignore TOC warnings on AIX
+// { dg-prune-output "ld: 0711-768 WARNING" }
+// { dg-prune-output "recognized no-op" }
+// { dg-prune-output "TOC-reload" }
+
More information about the Gcc-patches
mailing list