aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/d-builtins.cc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2024-01-16 19:57:40 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2024-02-03 00:16:55 +0100
commit838e706fa55b1798fb5f0242dbd90cd4d9817bbe (patch)
treeba9e9519442f8edea295b389e77e1183403d87d8 /gcc/d/d-builtins.cc
parentcfc6d9ae8143cf0e903384bc63e8d659ca1c9fe7 (diff)
downloadgcc-838e706fa55b1798fb5f0242dbd90cd4d9817bbe.zip
gcc-838e706fa55b1798fb5f0242dbd90cd4d9817bbe.tar.gz
gcc-838e706fa55b1798fb5f0242dbd90cd4d9817bbe.tar.bz2
d: Merge upstream dmd, druntime f1a045928e
D front-end changes: - Import dmd v2.106.1-rc.1. - Unrecognized pragmas are no longer an error by default. D runtime changes: - Import druntime v2.106.1-rc.1. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd f1a045928e. * dmd/VERSION: Bump version to v2.106.1-rc.1. * gdc.texi (fignore-unknown-pragmas): Update documentation. * d-builtins.cc (covariant_with_builtin_type_p): Update for new front-end interface. * d-lang.cc (d_parse_file): Likewise. * typeinfo.cc (make_frontend_typeinfo): Likewise. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime f1a045928e. * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/stdc/stdatomic.d. * libdruntime/Makefile.in: Regenerate.
Diffstat (limited to 'gcc/d/d-builtins.cc')
-rw-r--r--gcc/d/d-builtins.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/d-builtins.cc b/gcc/d/d-builtins.cc
index 59a1b4c..9d60497 100644
--- a/gcc/d/d-builtins.cc
+++ b/gcc/d/d-builtins.cc
@@ -724,7 +724,7 @@ static bool
covariant_with_builtin_type_p (Type *t1, Type *t2)
{
/* Check whether the declared function matches the built-in. */
- if (same_type_p (t1, t2) || t1->covariant (t2) == Covariant::yes)
+ if (same_type_p (t1, t2) || covariant (t1, t2) == Covariant::yes)
return true;
/* May not be covariant because of D attributes applied on t1.