aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/decl.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/decl.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/decl.cc')
-rw-r--r--gcc/d/decl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/decl.cc b/gcc/d/decl.cc
index 25398a3..3b7627d 100644
--- a/gcc/d/decl.cc
+++ b/gcc/d/decl.cc
@@ -2211,7 +2211,7 @@ get_vtable_decl (ClassDeclaration *decl)
tree ident = mangle_internal_decl (decl, "__vtbl", "Z");
/* Note: Using a static array type for the VAR_DECL, the DECL_INITIAL value
will have a different type. However the back-end seems to accept this. */
- tree type = build_ctype (Type::tvoidptr->sarrayOf (decl->vtbl.length));
+ tree type = build_ctype (dmd::sarrayOf (Type::tvoidptr, decl->vtbl.length));
Dsymbol *vtblsym = decl->vtblSymbol ();
vtblsym->csym = declare_extern_var (ident, type);