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