From ac908237bd551fb55f2f82736cb37038e9b91459 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Sun, 15 Oct 2023 12:05:10 +0200 Subject: d: Merge upstream dmd, druntime f9efc98fd7, phobos a3f22129d. D front-end changes: - Import dmd v2.105.2. - A function with enum storage class is now deprecated. - Global variables can now be initialized with Associative Arrays. - Improvements for the C++ header generation of static variables used in a default argument context. D runtime changes: - Import druntime v2.105.2. - The `core.memory.GC' functions `GC.enable', `GC.disable', `GC.collect', and `GC.minimize' `have been marked `@safe'. Phobos changes: - Import phobos v2.105.2. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd f9efc98fd7. * dmd/VERSION: Bump version to v2.105.2. * d-builtins.cc (build_frontend_type): Update for new front-end interface. * d-diagnostic.cc (verrorReport): Don't emit tips when error gagging is turned on. * d-lang.cc (d_handle_option): Remove obsolete parameter. (d_post_options): Likewise. (d_read_ddoc_files): New function. (d_generate_ddoc_file): New function. (d_parse_file): Update for new front-end interface. * expr.cc (ExprVisitor::visit (AssocArrayLiteralExp *)): Check for new front-end lowering of static associative arrays. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime f9efc98fd7. * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/internal/newaa.d. * libdruntime/Makefile.in: Regenerate. * src/MERGE: Merge upstream phobos a3f22129d. * testsuite/libphobos.hash/test_hash.d: Update test. * testsuite/libphobos.phobos/phobos.exp: Add compiler flags -Wno-deprecated. * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise. gcc/testsuite/ChangeLog: * lib/gdc-utils.exp (gdc-convert-args): Handle new compiler options. --- gcc/d/dmd/init.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/d/dmd/init.d') diff --git a/gcc/d/dmd/init.d b/gcc/d/dmd/init.d index e7cf905..4501185 100644 --- a/gcc/d/dmd/init.d +++ b/gcc/d/dmd/init.d @@ -61,7 +61,7 @@ extern (C++) class Initializer : ASTNode { OutBuffer buf; HdrGenState hgs; - .toCBuffer(this, &buf, &hgs); + toCBuffer(this, buf, hgs); return buf.extractChars(); } -- cgit v1.1