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, libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX


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


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