* testsuite/30_threads/thread/70503.cc: Require -static to work.
authorJonathan Wakely <jwakely@redhat.com>
Tue, 5 Apr 2016 17:21:48 +0000 (18:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 5 Apr 2016 17:21:48 +0000 (18:21 +0100)
From-SVN: r234757

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

index c4356c9e5948a5ed2f31fa697bc1a0da6eff627c..e12cfbf1bde5c91b02d1463879533bbf8787c290 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 1763ac2dc0a4ba5410cacce183319667da92a8c4..950d75416ce0e6545734bab6a5801a78651f02e3 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);