https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118854
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- fsanitize=address just changes timing slightly to give a race condition between the thread and the constructor to show up.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 12 Feb 2025 12:46:37 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118854
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- fsanitize=address just changes timing slightly to give a race condition between the thread and the constructor to show up.