]> git.ipfire.org Git - thirdparty/gcc.git/commit
d: Merge upstream dmd, druntime c57da0cf59, phobos ad8ee5587
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 8 Jan 2025 20:02:56 +0000 (21:02 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 12 Jan 2025 20:53:50 +0000 (21:53 +0100)
commit0dd21bce3afe9b0081d1d5bf4b53f9b43980c1c4
tree4326f2031f50a7a326d79c25589ff50d00e36e77
parenta236f70617213343f3075ee43e8d9f5882dca400
d: Merge upstream dmd, druntime c57da0cf59, phobos ad8ee5587

D front-end changes:

- Import latest fixes from dmd v2.110.0-beta.1.
- The `align' attribute now allows to specify `default'
  explicitly.
- Add primary expression of the form `__rvalue(expression)'
  which causes `expression' to be treated as an rvalue, even if
  it is an lvalue.
- Shortened method syntax can now be used in constructors.

D runtime changes:

- Import latest fixes from druntime v2.110.0-beta.1.

Phobos changes:

- Import latest fixes from phobos v2.110.0-beta.1.

gcc/d/ChangeLog:

* dmd/MERGE: Merge upstream dmd c57da0cf59.
* d-codegen.cc (can_elide_copy_p): New.
(d_build_call): Use it.
* d-lang.cc (d_post_options): Update for new front-end interface.

libphobos/ChangeLog:

* libdruntime/MERGE: Merge upstream druntime c57da0cf59.
* src/MERGE: Merge upstream phobos ad8ee5587.
* testsuite/libphobos.init_fini/custom_gc.d: Adjust test.

gcc/testsuite/ChangeLog:

* gdc.dg/copy1.d: New test.
124 files changed:
gcc/d/d-codegen.cc
gcc/d/d-lang.cc
gcc/d/dmd/MERGE
gcc/d/dmd/astenums.d
gcc/d/dmd/attrib.d
gcc/d/dmd/attrib.h
gcc/d/dmd/clone.d
gcc/d/dmd/constfold.d
gcc/d/dmd/declaration.d
gcc/d/dmd/declaration.h
gcc/d/dmd/dscope.d
gcc/d/dmd/dstruct.d
gcc/d/dmd/dsymbol.d
gcc/d/dmd/dsymbol.h
gcc/d/dmd/dsymbolsem.d
gcc/d/dmd/expression.d
gcc/d/dmd/expression.h
gcc/d/dmd/expressionsem.d
gcc/d/dmd/func.d
gcc/d/dmd/funcsem.d
gcc/d/dmd/globals.d
gcc/d/dmd/globals.h
gcc/d/dmd/hdrgen.d
gcc/d/dmd/id.d
gcc/d/dmd/identifier.d
gcc/d/dmd/initsem.d
gcc/d/dmd/json.d
gcc/d/dmd/mtype.d
gcc/d/dmd/mtype.h
gcc/d/dmd/objc.d
gcc/d/dmd/parse.d
gcc/d/dmd/printast.d
gcc/d/dmd/root/filename.d
gcc/d/dmd/scope.h
gcc/d/dmd/semantic3.d
gcc/d/dmd/statementsem.d
gcc/d/dmd/templatesem.d
gcc/d/dmd/tokens.d
gcc/d/dmd/tokens.h
gcc/d/dmd/traits.d
gcc/d/dmd/typesem.d
gcc/testsuite/gdc.dg/copy1.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/aligndefault.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/extra-files/header1.d
gcc/testsuite/gdc.test/compilable/rvalue2.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/shortened_methods.d
gcc/testsuite/gdc.test/compilable/test19227.d
gcc/testsuite/gdc.test/compilable/traits.d
gcc/testsuite/gdc.test/fail_compilation/fail19871.d [deleted file]
gcc/testsuite/gdc.test/fail_compilation/fail19931.d [deleted file]
gcc/testsuite/gdc.test/fail_compilation/fail23036.d [deleted file]
gcc/testsuite/gdc.test/fail_compilation/ice14642.d
gcc/testsuite/gdc.test/fail_compilation/ice9865.d
gcc/testsuite/gdc.test/fail_compilation/parseStc2.d
gcc/testsuite/gdc.test/fail_compilation/short_fn.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/test19473.d
gcc/testsuite/gdc.test/fail_compilation/test20719.d
gcc/testsuite/gdc.test/runnable/aliasassign.d
gcc/testsuite/gdc.test/runnable/imports/test23722_2b.d [new file with mode: 0644]
gcc/testsuite/gdc.test/runnable/mars1.d
gcc/testsuite/gdc.test/runnable/nrvo.d
gcc/testsuite/gdc.test/runnable/rvalue1.d [new file with mode: 0644]
gcc/testsuite/gdc.test/runnable/test23036.d [new file with mode: 0644]
gcc/testsuite/gdc.test/runnable/test23722_2.d [new file with mode: 0644]
libphobos/libdruntime/MERGE
libphobos/libdruntime/core/builtins.d
libphobos/libdruntime/core/gc/gcinterface.d
libphobos/libdruntime/core/internal/array/utils.d
libphobos/libdruntime/core/internal/gc/blkcache.d
libphobos/libdruntime/core/internal/gc/blockmeta.d
libphobos/libdruntime/core/internal/gc/impl/conservative/gc.d
libphobos/libdruntime/core/internal/gc/impl/manual/gc.d
libphobos/libdruntime/core/internal/gc/impl/proto/gc.d
libphobos/libdruntime/core/internal/gc/proxy.d
libphobos/libdruntime/core/internal/traits.d
libphobos/libdruntime/core/sys/posix/fcntl.d
libphobos/libdruntime/core/sys/windows/aclapi.d
libphobos/libdruntime/core/sys/windows/aclui.d
libphobos/libdruntime/core/sys/windows/commctrl.d
libphobos/libdruntime/core/sys/windows/custcntl.d
libphobos/libdruntime/core/sys/windows/dde.d
libphobos/libdruntime/core/sys/windows/ddeml.d
libphobos/libdruntime/core/sys/windows/dhcpcsdk.d
libphobos/libdruntime/core/sys/windows/errorrep.d
libphobos/libdruntime/core/sys/windows/httpext.d
libphobos/libdruntime/core/sys/windows/imagehlp.d
libphobos/libdruntime/core/sys/windows/intshcut.d
libphobos/libdruntime/core/sys/windows/iphlpapi.d
libphobos/libdruntime/core/sys/windows/lmaccess.d
libphobos/libdruntime/core/sys/windows/lmalert.d
libphobos/libdruntime/core/sys/windows/lmapibuf.d
libphobos/libdruntime/core/sys/windows/lmmsg.d
libphobos/libdruntime/core/sys/windows/lmremutl.d
libphobos/libdruntime/core/sys/windows/mgmtapi.d
libphobos/libdruntime/core/sys/windows/ntdll.d
libphobos/libdruntime/core/sys/windows/ntsecapi.d
libphobos/libdruntime/core/sys/windows/ole.d
libphobos/libdruntime/core/sys/windows/ole2.d
libphobos/libdruntime/core/sys/windows/oleacc.d
libphobos/libdruntime/core/sys/windows/oleauto.d
libphobos/libdruntime/core/sys/windows/oledlg.d
libphobos/libdruntime/core/sys/windows/prsht.d
libphobos/libdruntime/core/sys/windows/psapi.d
libphobos/libdruntime/core/sys/windows/rpc.d
libphobos/libdruntime/core/sys/windows/winhttp.d
libphobos/libdruntime/core/sys/windows/winnetwk.d
libphobos/libdruntime/core/sys/windows/winsvc.d
libphobos/libdruntime/core/sys/windows/winuser.d
libphobos/libdruntime/core/sys/windows/winver.d
libphobos/libdruntime/rt/lifetime.d
libphobos/src/MERGE
libphobos/src/etc/c/curl.d
libphobos/src/std/algorithm/searching.d
libphobos/src/std/array.d
libphobos/src/std/experimental/allocator/building_blocks/allocator_list.d
libphobos/src/std/format/package.d
libphobos/src/std/functional.d
libphobos/src/std/logger/filelogger.d
libphobos/src/std/logger/package.d
libphobos/src/std/math/traits.d
libphobos/src/std/path.d
libphobos/src/std/process.d
libphobos/src/std/stdio.d
libphobos/testsuite/libphobos.init_fini/custom_gc.d