https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103382
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |12.1.0 Status|ASSIGNED |RESOLVED Target Milestone|--- |12.0 Resolution|--- |FIXED Known to fail| |11.5.0 --- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed for GCC 12, no older release branches are active anymore. For the record, compiling with affected GCC but link editing against fixed libstdc++ makes the testcase no longer terminate but at the expense of not unlocking the mutex. So the failure mode changes from abort to (possible) deadlock. Which possibly means "don't do that then" (link edit against newer libstdc++).