https://sourceware.org/bugzilla/show_bug.cgi?id=17699



--- Comment #5 from Timo Teräs <timo.teras at iki dot fi> ---

Even more minimal test case in C:

 int bar() { static __thread int foo; return foo; }



Notable that this does not cause the same issue:

 __thread int __attribute__((__visibility__("hidden"))) foo; int *bar() {

return &foo; }



-- 

You are receiving this mail because:

You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to