https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103520
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:fa10faa72d8e9e97b6e564f8b0a7b602538d0da0 commit r12-5704-gfa10faa72d8e9e97b6e564f8b0a7b602538d0da0 Author: Iain Buclaw <ibuc...@gdcproject.org> Date: Wed Dec 1 23:56:28 2021 +0100 d: Disable the D runtime garbage collector after initializing (PR103520) Not all targets that support building libdruntime have a stable garbage collector, so to avoid running into problems where live memory allocated by the D GC is freed, disable all in-flight collections until a time when scanning is more reliably implemented everywhere. PR d/103520 gcc/d/ChangeLog: * d-frontend.h (gc_disable): Declare. * d-lang.cc (d_init_options): Disable the D runtime garbage collector after initializing.