https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Richard Smith from comment #4) > Yep, looks like GCC miscompiles direct calls to operator new / operator > delete since that patch landed: https://godbolt.org/z/dK99Rz Note that this is true only of GCC 10.x.