This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262903 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 20 Jul 2018 11:24:56 -0000
- Subject: r262903 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Fri Jul 20 11:24:55 2018
New Revision: 262903
URL: https://gcc.gnu.org/viewcvs?rev=262903&root=gcc&view=rev
Log:
Use default visibility to work around clang -fvisibility-inlines-hidden bug
Clang (including trunk and many older versions) incorrectly marks static
local variables (__tag) hidden when -fvisibility-inlines-hidden is used.
This can lead to multiple instances of __tag when shares objects are used.
2018-07-20 Fangrui Song <maskray@google.com>
* include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_ti): Use
_GLIBCXX_VISIBILITY(default).
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/shared_ptr_base.h