https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102837
--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> --- Testing this patch. --- a/libphobos/libdruntime/gcc/deh.d +++ b/libphobos/libdruntime/gcc/deh.d @@ -207,7 +207,7 @@ struct ExceptionHeader */ static void free(ExceptionHeader* eh) @nogc { - *eh = ExceptionHeader.init; + __builtin_memset(eh, 0, ExceptionHeader.sizeof); if (eh != &ehstorage) __builtin_free(eh); }