[Bug libstdc++/70503] [4.9/5 Regression] extern "C" functions in src/c++11/thread.cc are global in libstdc++.a
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 20 13:01:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Apr 20 13:00:37 2016
New Revision: 235277
URL: https://gcc.gnu.org/viewcvs?rev=235277&root=gcc&view=rev
Log:
Ensure std::thread helpers have internal linkage
Backport from mainline
2016-04-05 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/70503
* src/c++11/thread.cc (execute_native_thread_routine,
execute_native_thread_routine_compat): Give internal linkage.
* testsuite/30_threads/thread/70503.cc: New test.
Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/30_threads/thread/70503.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/src/c++11/thread.cc
More information about the Gcc-bugs
mailing list