]> git.ipfire.org Git - thirdparty/gcc.git/commit
d: Merge dmd, druntime bce5c1f7b5, phobos e4d0dd513.
authorIain Buclaw <ibuclaw@gdcproject.org>
Thu, 18 Jan 2024 01:39:20 +0000 (02:39 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Fri, 2 Feb 2024 23:49:46 +0000 (00:49 +0100)
commitf204359931866b917856fc959c70dbf55f28c14d
treeba1c671045e384fa49a6381f79abf7c1b84a55ea
parent5470a9b176c2b3030ff3891c7e9403db2b0685b8
d: Merge dmd, druntime bce5c1f7b5, phobos e4d0dd513.

D front-end changes:

- Import latest changes from dmd v2.107.0-beta.1.
- Keywords like `__FILE__' are now always evaluated at the
  callsite.

D runtime changes:

- Import latest changes from druntime v2.107.0-beta.1.
- Added `nameSig' field to TypeInfo_Class in object.d.

Phobos changes:

- Import latest changes from phobos v2.107.0-beta.1.

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd bce5c1f7b5.
* d-attribs.cc (build_attributes): Update for new front-end interface.
* d-lang.cc (d_parse_file): Likewise.
* decl.cc (DeclVisitor::visit (VarDeclaration *)): Likewise.
* expr.cc (build_lambda_tree): New function.
(ExprVisitor::visit (FuncExp *)): Use build_lambda_tree.
(ExprVisitor::visit (SymOffExp *)): Likewise.
(ExprVisitor::visit (VarExp *)): Likewise.
* typeinfo.cc (create_tinfo_types): Add two ulong fields to internal
TypeInfo representation.
(TypeInfoVisitor::visit (TypeInfoClassDeclaration *)): Emit stub data
for TypeInfo_Class.nameSig.
(TypeInfoVisitor::visit (TypeInfoStructDeclaration *)): Update for new
front-end interface.

libphobos/ChangeLog:

* libdruntime/MERGE: Merge upstream druntime bce5c1f7b5.
* src/MERGE: Merge upstream phobos e4d0dd513.
105 files changed:
gcc/d/d-attribs.cc
gcc/d/d-lang.cc
gcc/d/decl.cc
gcc/d/dmd/MERGE
gcc/d/dmd/astenums.d
gcc/d/dmd/constfold.d
gcc/d/dmd/declaration.d
gcc/d/dmd/dinterpret.d
gcc/d/dmd/dmodule.d
gcc/d/dmd/doc.d
gcc/d/dmd/dscope.d
gcc/d/dmd/dsymbolsem.d
gcc/d/dmd/dtemplate.d
gcc/d/dmd/dtoh.d
gcc/d/dmd/escape.d
gcc/d/dmd/expression.d
gcc/d/dmd/expressionsem.d
gcc/d/dmd/file_manager.d
gcc/d/dmd/func.d
gcc/d/dmd/globals.d
gcc/d/dmd/globals.h
gcc/d/dmd/mtype.d
gcc/d/dmd/mtype.h
gcc/d/dmd/mustuse.d
gcc/d/dmd/ob.d
gcc/d/dmd/parse.d
gcc/d/dmd/safe.d
gcc/d/dmd/scope.h
gcc/d/dmd/semantic3.d
gcc/d/dmd/sideeffect.d
gcc/d/dmd/statementsem.d
gcc/d/dmd/template.h
gcc/d/dmd/typesem.d
gcc/d/expr.cc
gcc/d/typeinfo.cc
gcc/testsuite/gdc.test/compilable/b18242.d
gcc/testsuite/gdc.test/compilable/issue24316.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/test24295.d [new file with mode: 0644]
gcc/testsuite/gdc.test/runnable/imports/issue18919b.d [new file with mode: 0644]
gcc/testsuite/gdc.test/runnable/issue18919.d [new file with mode: 0644]
gcc/testsuite/gdc.test/runnable/test18916.d
gcc/testsuite/gdc.test/runnable/testptrref.d
gcc/testsuite/gdc.test/runnable/xtest46.d
libphobos/libdruntime/MERGE
libphobos/libdruntime/core/exception.d
libphobos/libdruntime/core/internal/container/array.d
libphobos/libdruntime/core/internal/container/common.d
libphobos/libdruntime/core/internal/dassert.d
libphobos/libdruntime/core/internal/gc/impl/conservative/gc.d
libphobos/libdruntime/core/internal/gc/os.d
libphobos/libdruntime/core/internal/spinlock.d
libphobos/libdruntime/core/memory.d
libphobos/libdruntime/core/stdc/assert_.d
libphobos/libdruntime/core/stdc/errno.d
libphobos/libdruntime/core/stdc/fenv.d
libphobos/libdruntime/core/stdc/locale.d
libphobos/libdruntime/core/stdc/stdio.d
libphobos/libdruntime/core/stdc/stdlib.d
libphobos/libdruntime/core/stdc/string.d
libphobos/libdruntime/core/stdc/wchar_.d
libphobos/libdruntime/core/sys/windows/basetsd.d
libphobos/libdruntime/core/sys/windows/commctrl.d
libphobos/libdruntime/core/sys/windows/ddeml.d
libphobos/libdruntime/core/sys/windows/dll.d
libphobos/libdruntime/core/sys/windows/httpext.d
libphobos/libdruntime/core/sys/windows/imagehlp.d
libphobos/libdruntime/core/sys/windows/msacm.d
libphobos/libdruntime/core/sys/windows/ntsecapi.d
libphobos/libdruntime/core/sys/windows/ole.d
libphobos/libdruntime/core/sys/windows/prsht.d
libphobos/libdruntime/core/sys/windows/rpcdce.d
libphobos/libdruntime/core/sys/windows/rpcdcep.d
libphobos/libdruntime/core/sys/windows/rpcnsi.d
libphobos/libdruntime/core/sys/windows/setupapi.d
libphobos/libdruntime/core/sys/windows/shellapi.d
libphobos/libdruntime/core/sys/windows/shlwapi.d
libphobos/libdruntime/core/sys/windows/subauth.d
libphobos/libdruntime/core/sys/windows/vfw.d
libphobos/libdruntime/core/sys/windows/windef.d
libphobos/libdruntime/core/sys/windows/wininet.d
libphobos/libdruntime/core/sys/windows/winsvc.d
libphobos/libdruntime/core/sys/windows/winuser.d
libphobos/libdruntime/core/sys/windows/wtypes.d
libphobos/libdruntime/object.d
libphobos/libdruntime/rt/cast_.d
libphobos/libdruntime/rt/dmain2.d
libphobos/src/MERGE
libphobos/src/std/bitmanip.d
libphobos/src/std/complex.d
libphobos/src/std/conv.d
libphobos/src/std/exception.d
libphobos/src/std/format/internal/floats.d
libphobos/src/std/format/internal/write.d
libphobos/src/std/math/algebraic.d
libphobos/src/std/math/exponential.d
libphobos/src/std/math/hardware.d
libphobos/src/std/math/operations.d
libphobos/src/std/math/package.d
libphobos/src/std/math/rounding.d
libphobos/src/std/math/traits.d
libphobos/src/std/math/trigonometry.d
libphobos/src/std/mmfile.d
libphobos/src/std/regex/internal/backtracking.d
libphobos/src/std/regex/internal/ir.d
libphobos/src/std/typecons.d