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,
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
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285
--- Comment #5 from Jonathan Wakely ---
Reduced:
cat >a.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285
Jonathan Wakely changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285
--- Comment #2 from Jonathan Wakely ---
No, using header guards makes no difference.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285
Jonathan Wakely changed:
What|Removed |Added
Keywords||wrong-code
10 matches
Mail list logo