diff options
author | Fangrui Song <maskray@google.com> | 2018-07-20 11:24:55 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-07-20 12:24:55 +0100 |
commit | 2143168e072391eb097a9382ab8ad2ca70ce1d11 (patch) | |
tree | d0f29467824c4ced0461b258660966332687c151 /gcc | |
parent | afa07bdd786dfd67ff9cd1deef3142b9821c26b5 (diff) | |
download | gcc-2143168e072391eb097a9382ab8ad2ca70ce1d11.zip gcc-2143168e072391eb097a9382ab8ad2ca70ce1d11.tar.gz gcc-2143168e072391eb097a9382ab8ad2ca70ce1d11.tar.bz2 |
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).
From-SVN: r262903
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions