diff mbox

[libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX

Message ID CAGWvnykOB4_KGG9BH1vhG_wA_NZJqhDk4fZNHF9fGSG+4iE=Yg@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn Nov. 19, 2013, 9:44 p.m. UTC
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.

Comments

Jonathan Wakely Nov. 19, 2013, 9:58 p.m. UTC | #1
On 19 November 2013 21:44, David Edelsohn wrote:
> 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?

Yes, thanks.
diff mbox

Patch

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