Commit d5ec69f3 by Jonathan Wakely Committed by Jonathan Wakely

* testsuite/30_threads/thread/70503.cc: Require -static to work.

From-SVN: r234757
parent 268a0ec4
2016-04-05 Jonathan Wakely <jwakely@redhat.com> 2016-04-05 Jonathan Wakely <jwakely@redhat.com>
* testsuite/30_threads/thread/70503.cc: Require -static to work.
PR libstdc++/70503 PR libstdc++/70503
* src/c++11/thread.cc (execute_native_thread_routine, * src/c++11/thread.cc (execute_native_thread_routine,
execute_native_thread_routine_compat): Give internal linkage. execute_native_thread_routine_compat): Give internal linkage.
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
// { dg-options " -std=gnu++11 -static" { target *-*-*gnu* } } // { dg-options " -std=gnu++11 -static" { target *-*-*gnu* } }
// { dg-require-cstdint "" } // { dg-require-cstdint "" }
// { dg-require-gthreads "" } // { dg-require-gthreads "" }
// { dg-require-effective-target static }
extern "C" { extern "C" {
void execute_native_thread_routine(void); void execute_native_thread_routine(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment