public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] testsuite/experimental/random/randint.cc
@ 2015-11-14 14:21 David Edelsohn
  0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2015-11-14 14:21 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: libstdc++, GCC Patches

Testcases that use TLS need additional options on some targets
(normall -pthread).  This fixes the testcase on AIX and Solaris.

Committed as obvious.

* testsuite/experimental/random/randint.cc: Add dg-add-options tls.

Index: testsuite/experimental/random/randint.cc
===================================================================
--- testsuite/experimental/random/randint.cc    (revision 230347)
+++ testsuite/experimental/random/randint.cc    (working copy)
@@ -1,5 +1,6 @@
 // { dg-options "-std=gnu++14" }
 // { dg-require-effective-target tls_runtime }
+// { dg-add-options tls }

 // Copyright (C) 2015 Free Software Foundation, Inc.
 //

Thanks, David

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-14 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-14 14:21 [PATCH] testsuite/experimental/random/randint.cc David Edelsohn

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).