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" }
+