aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/d-codegen.cc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2024-03-03 20:28:58 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2024-03-03 23:42:56 +0100
commitbbfbaa792b50ebd75b383be25f50c92f30243256 (patch)
tree745acbaba5cd3643e8e3ed9797a4ca258d2ae1d8 /gcc/d/d-codegen.cc
parent24975a9195743e8eb4ca213f35b9221d4eeb6b59 (diff)
downloadgcc-bbfbaa792b50ebd75b383be25f50c92f30243256.zip
gcc-bbfbaa792b50ebd75b383be25f50c92f30243256.tar.gz
gcc-bbfbaa792b50ebd75b383be25f50c92f30243256.tar.bz2
d: Merge upstream dmd, druntime f8bae04558, phobos ba2ade9dec
D front-end changes: - Import dmd v2.108.1-beta-1. D runtime changes: - Import druntime v2.108.1-beta-1. Phobos changes: - Import phobos v2.108.1-beta-1. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd f8bae04558. * dmd/VERSION: Bump version to v2.108.0-beta.1. * d-builtins.cc (build_frontend_type): Update for new front-end interface. * d-codegen.cc (build_assert_call): Likewise. * d-convert.cc (d_array_convert): Likewise. * decl.cc (get_vtable_decl): Likewise. * expr.cc (ExprVisitor::visit (EqualExp *)): Likewise. (ExprVisitor::visit (VarExp *)): Likewise. (ExprVisitor::visit (ArrayLiteralExp *)): Likewise. (ExprVisitor::visit (AssocArrayLiteralExp)): Likewise. * intrinsics.cc (build_shuffle_mask_type): Likewise. (maybe_warn_intrinsic_mismatch): Likewise. * runtime.cc (get_libcall_type): Likewise. * typeinfo.cc (TypeInfoVisitor::layout_string): Likewise. (TypeInfoVisitor::visit(TypeInfoTupleDeclaration *)): Likewise. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime 02d6d07a69. * src/MERGE: Merge upstream phobos a2ade9dec.
Diffstat (limited to 'gcc/d/d-codegen.cc')
-rw-r--r--gcc/d/d-codegen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/d-codegen.cc b/gcc/d/d-codegen.cc
index 43d7739f..2b3089b 100644
--- a/gcc/d/d-codegen.cc
+++ b/gcc/d/d-codegen.cc
@@ -1906,7 +1906,7 @@ build_assert_call (const Loc &loc, libcall_fn libcall, tree msg)
tree str = build_string (len, filename);
TREE_TYPE (str) = make_array_type (Type::tchar, len);
- file = d_array_value (build_ctype (Type::tchar->arrayOf ()),
+ file = d_array_value (build_ctype (dmd::arrayOf (Type::tchar)),
size_int (len), build_address (str));
}
else