Commit c21af61d by Iain Buclaw

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
parent 8b5d2c55
180465274b72a2ff218449f6793af0fbaabbcaa3 e21c07e84bd9668e1c0fc1f45e514c5fd76988e7
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the dlang/dmd repository. merge done from the dlang/dmd repository.
...@@ -2326,7 +2326,7 @@ Identifier *Type::getTypeInfoIdent() ...@@ -2326,7 +2326,7 @@ Identifier *Type::getTypeInfoIdent()
int length = sprintf(name, "_D%lluTypeInfo_%s6__initZ", (unsigned long long) 9 + len, buf.data); 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); //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); Identifier *id = Identifier::idPool(name, length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment