public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX
@ 2013-11-19 23:25 David Edelsohn
  2013-11-20  1:02 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: David Edelsohn @ 2013-11-19 23:25 UTC (permalink / raw)
  To: GCC Patches, libstdc++

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX
  2013-11-19 23:25 [PATCH, libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX David Edelsohn
@ 2013-11-20  1:02 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2013-11-20  1:02 UTC (permalink / raw)
  To: David Edelsohn; +Cc: GCC Patches, libstdc++

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-19 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 23:25 [PATCH, libstdc++] Ignore extra warnings for 17_intro/static.cc on AIX David Edelsohn
2013-11-20  1:02 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).