* testsuite/30_threads/thread/70503.cc: Require -static to work.
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2016 17:21:48 +0000 (17:21 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2016 17:21:48 +0000 (17:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234757 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/30_threads/thread/70503.cc

index c4356c9..e12cfbf 100644 (file)
@@ -1,5 +1,7 @@
 2016-04-05  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/30_threads/thread/70503.cc: Require -static to work.
+
        PR libstdc++/70503
        * src/c++11/thread.cc (execute_native_thread_routine,
        execute_native_thread_routine_compat): Give internal linkage.
index 1763ac2..950d754 100644 (file)
@@ -19,6 +19,7 @@
 // { dg-options " -std=gnu++11 -static" { target *-*-*gnu* } }
 // { dg-require-cstdint "" }
 // { dg-require-gthreads "" }
+// { dg-require-effective-target static }
 
 extern "C" {
   void execute_native_thread_routine(void);