This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[PATCH, libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 19 Nov 2013 16:44:02 -0500
- Subject: [PATCH, libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX
- Authentication-results: sourceware.org; auth=none
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" }
+