https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118455
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- The OOB access has caused a heap corruption and then the program's (erratic) behavior depends on all the details how it uses heap later. And disabling sync can alter how the standard library uses heap. This is not a bug.