From: Iain Buclaw Date: Tue, 22 Jan 2019 22:30:56 +0000 (+0000) Subject: d/dmd: Merge dmd upstream e21c07e84 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c21af61d6d6f4879e282f5f6742ea6a1ef9f41a3;p=gcc.git d/dmd: Merge dmd upstream e21c07e84 Fixes bootstrap regression introduced by the previous merge. Reviewed-on: https://github.com/dlang/dmd/pull/9283 From-SVN: r268167 --- diff --git a/gcc/d/dmd/MERGE b/gcc/d/dmd/MERGE index e8ab8df4f7b..c1c6cc145c4 100644 --- a/gcc/d/dmd/MERGE +++ b/gcc/d/dmd/MERGE @@ -1,4 +1,4 @@ -180465274b72a2ff218449f6793af0fbaabbcaa3 +e21c07e84bd9668e1c0fc1f45e514c5fd76988e7 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 09161a313ee..2a23cab74fd 100644 --- a/gcc/d/dmd/mtype.c +++ b/gcc/d/dmd/mtype.c @@ -2326,7 +2326,7 @@ Identifier *Type::getTypeInfoIdent() int length = sprintf(name, "_D%lluTypeInfo_%s6__initZ", (unsigned long long) 9 + len, buf.data); //printf("%p, deco = %s, name = %s\n", this, deco, name); - assert(0 < length && length < namelen); // don't overflow the buffer + assert(0 < length && (size_t)length < namelen); // don't overflow the buffer Identifier *id = Identifier::idPool(name, length);