diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2022-06-13 10:41:57 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2022-06-13 11:38:10 +0200 |
commit | ec486b739b83ffdbe40c5ececb20d16c94d6b0d0 (patch) | |
tree | 9a3c04628df45a6dca9288e2c44b089c957e426d /gcc/d/dmd/dcast.d | |
parent | 13ea4a6e830da1f245136601e636dec62e74d1a7 (diff) | |
download | gcc-ec486b739b83ffdbe40c5ececb20d16c94d6b0d0.zip gcc-ec486b739b83ffdbe40c5ececb20d16c94d6b0d0.tar.gz gcc-ec486b739b83ffdbe40c5ececb20d16c94d6b0d0.tar.bz2 |
d: Merge upstream dmd 821ed393d, druntime 454471d8, phobos 1206fc94f.
D front-end changes:
- Import latest bug fixes to mainline.
D runtime changes:
- Fix duplicate Elf64_Dyn definitions on Solaris.
- _d_newThrowable has been converted to a template.
Phobos changes:
- Import latest bug fixes to mainline.
gcc/d/ChangeLog:
* dmd/MERGE: Merge upstream dmd 821ed393d.
* expr.cc (ExprVisitor::visit (NewExp *)): Remove handled of
allocating `@nogc' throwable object.
* runtime.def (NEWTHROW): Remove.
libphobos/ChangeLog:
* libdruntime/MERGE: Merge upstream druntime 454471d8.
* libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
core/sync/package.d.
* libdruntime/Makefile.in: Regenerate.
* src/MERGE: Merge upstream phobos 1206fc94f.
Diffstat (limited to 'gcc/d/dmd/dcast.d')
-rw-r--r-- | gcc/d/dmd/dcast.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/d/dmd/dcast.d b/gcc/d/dmd/dcast.d index 4607d6f..12051d9 100644 --- a/gcc/d/dmd/dcast.d +++ b/gcc/d/dmd/dcast.d @@ -916,7 +916,7 @@ MATCH implicitConvTo(Expression e, Type t) if (i - j < nparams) { Parameter fparam = tf.parameterList[i - j]; - if (fparam.storageClass & STC.lazy_) + if (fparam.isLazy()) return result; // not sure what to do with this Type tparam = fparam.type; if (!tparam) @@ -1224,7 +1224,7 @@ MATCH implicitConvTo(Expression e, Type t) if (i - j < nparams) { Parameter fparam = tf.parameterList[i - j]; - if (fparam.storageClass & STC.lazy_) + if (fparam.isLazy()) return MATCH.nomatch; // not sure what to do with this Type tparam = fparam.type; if (!tparam) |