https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Segher Boessenkool from comment #9) > Nothing, it never reaches memset before it exits. Are you sure? I was able to place breakpoint on memset and ~14th iteration of the breakpoint was really mutex init function. Can you please double check it?