[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 5 15:42:34 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
FWIW the current wording in the standard was introduced by
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0250r3.html


More information about the Gcc-bugs mailing list