public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/guojiufu/heads/guojiufu-branch)] d: Fix regression caused by recent refactoring
@ 2020-06-10  3:45 Jiu Fu Guo
  0 siblings, 0 replies; only message in thread
From: Jiu Fu Guo @ 2020-06-10  3:45 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5fceefeee9a10cfba621d215f011a58badc246ad

commit 5fceefeee9a10cfba621d215f011a58badc246ad
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Mon Jun 8 22:11:00 2020 +0200

    d: Fix regression caused by recent refactoring
    
    gcc/d/ChangeLog:
    
            PR d/95573
            * dmd/MERGE: Merge upstream dmd 5041e56f1.

Diff:
---
 gcc/d/dmd/MERGE   | 2 +-
 gcc/d/dmd/mtype.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/d/dmd/MERGE b/gcc/d/dmd/MERGE
index e2ebd27b19b..163a70ddb26 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 7684516da99..011aff7ec93 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
             }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-10  3:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10  3:45 [gcc(refs/users/guojiufu/heads/guojiufu-branch)] d: Fix regression caused by recent refactoring Jiu Fu Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).