Excerpts from Iain Buclaw's message of Dezember 11, 2023 11:07 am: > Hi, > > This patch merges the D front-end and runtime library with upstream dmd > 2bbf64907c, and the standard library with phobos b64bfbf91. > > Synchronizing with the upstream release of v2.106.0. >
... > diff --git a/gcc/d/dmd/canthrow.d b/gcc/d/dmd/canthrow.d > index 67305922df6..5a608a9986d 100644 > --- a/gcc/d/dmd/canthrow.d > +++ b/gcc/d/dmd/canthrow.d > @@ -22,7 +22,6 @@ import dmd.declaration; > import dmd.dsymbol; > import dmd.errorsink; > import dmd.expression; > -import dmd.expressionsem; > import dmd.func; > import dmd.globals; > import dmd.init; > @@ -81,6 +80,7 @@ CT canThrow(Expression e, FuncDeclaration func, ErrorSink > eSink) > if (!f.isDtorDeclaration()) > errorSupplementalInferredAttr(f, 10, false, > STC.nothrow_); > > + import dmd.expressionsem : checkOverriddenDtor; > f.checkOverriddenDtor(null, e.loc, dd => > dd.type.toTypeFunction().isnothrow, "not nothrow"); > } > else if (func) > Hi Rainer, This specific change that moves an import from toplevel to local should fix that linker problem when using gdc-9 for bootstrapping. Iain.