aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-06-08 22:11:00 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-06-08 22:11:00 +0200
commit5fceefeee9a10cfba621d215f011a58badc246ad (patch)
treee49c867c061c906a108907377ed7f5b89e0f10df /gcc
parent49a09af117be32adf230efd2c52a41f810b9ee04 (diff)
downloadgcc-5fceefeee9a10cfba621d215f011a58badc246ad.zip
gcc-5fceefeee9a10cfba621d215f011a58badc246ad.tar.gz
gcc-5fceefeee9a10cfba621d215f011a58badc246ad.tar.bz2
d: Fix regression caused by recent refactoring
gcc/d/ChangeLog: PR d/95573 * dmd/MERGE: Merge upstream dmd 5041e56f1.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/d/dmd/MERGE2
-rw-r--r--gcc/d/dmd/mtype.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/d/dmd/MERGE b/gcc/d/dmd/MERGE
index e2ebd27..163a70d 100644
--- a/gcc/d/dmd/MERGE
+++ b/gcc/d/dmd/MERGE
@@ -1,4 +1,4 @@
-955b8b36f8bbacc59745b44cdf48ef1ddeb01bcd
+5041e56f12806f13a8fa5e98a6c98279636a8d2a
The first line of this file holds the git revision number of the last
merge done from the dlang/dmd repository.
diff --git a/gcc/d/dmd/mtype.c b/gcc/d/dmd/mtype.c
index 7684516..011aff7 100644
--- a/gcc/d/dmd/mtype.c
+++ b/gcc/d/dmd/mtype.c
@@ -9384,7 +9384,7 @@ Type *Parameter::isLazyArray()
TypeDelegate *td = (TypeDelegate *)tel;
TypeFunction *tf = td->next->toTypeFunction();
- if (!tf->parameterList.varargs == VARARGnone && tf->parameterList.length() == 0)
+ if (tf->parameterList.varargs == VARARGnone && tf->parameterList.length() == 0)
{
return tf->next; // return type of delegate
}