diff mbox

testsuite/experimental/random/randint.cc

Message ID CAGWvny=Y3kQy7B29cAOb4GEgZDyNmPiP2krZ5gDY5MdOQzvJQQ@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn Nov. 14, 2015, 2:21 p.m. UTC
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.


Thanks, David
diff mbox

Patch

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