[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-11-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Nov 18 21:56:50 2016 New Revision: 242607 URL: https://gcc.gnu.org/viewcvs?rev=242607=gcc=rev Log: PR c++/77285 * mangle.c (mangle_tls_init_fn,

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 --- Comment #7 from Jonathan Wakely --- The examples only work with GCC 4.9.4 because the abi_tag doesn't have any effect before GCC 5, but it's still a regression because of the effect on std::string variables, which are now tagged.

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 --- Comment #6 from Jonathan Wakely --- Oops, sorry that's the nm output for the wrong objects, the output for the reduced examples is: nm a.o U _GLOBAL_OFFSET_TABLE_ B _Z13gFeelingLuckyB3tag

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 --- Comment #5 from Jonathan Wakely --- Reduced: cat >a.cpp

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 --- Comment #3 from Jonathan Wakely --- Without the header: cat > a.cpp < thread_local std::string gFeelingLucky; EOF cat > main.cpp < extern thread_local std::string gFeelingLucky; int main() { return gFeelingLucky.length(); } EOF g++11

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 --- Comment #2 from Jonathan Wakely --- No, using header guards makes no difference.

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-08-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.5 --- Comment #1 from Richard Biener

[Bug c++/77285] [5/6/7 Regression] extern thread_local linkage

2016-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code