https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051
Iouri Kharon <bc-info at styx dot cabel.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #61313|0 |1 is obsolete| | --- Comment #7 from Iouri Kharon <bc-info at styx dot cabel.net> --- Created attachment 61364 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61364&action=edit A small patch for temporary(?) fix for this (and several similar) problems. This patch is also trivial :). Unfortunately, I haven't managed to find the cause of "memory corruption" in some large C++ projects yet - unlike your tests, it's not a "direct" error, but an induced one.... :(