d: Merge upstream dmd 4d1bfcf14, druntime 9ba9a6ae, phobos c0cc5e917.
commit31350635bfd90beea79b0e9220008da12bbb5d22
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 13 Apr 2022 12:34:49 +0000 (13 13:34 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Wed, 13 Apr 2022 14:02:57 +0000 (13 15:02 +0100)
tree2da5508cabb1f04bde53b7b61398bd21efec8839
parentca145c6306f19272ac8756d88c4eba0bfdf01dfb
d: Merge upstream dmd 4d1bfcf14, druntime 9ba9a6ae, phobos c0cc5e917.

D front-end changes:

    - Import dmd v2.099.1.
    - Added `@mustuse' attribute, implmenting DIP 1038.
    - Added `.tupleof` property for static arrays

D runtime changes:

    - Import druntime v2.099.1.

Phobos changes:

    - Import phobos v2.099.1.
    - Zlib bindings have been updated to 1.2.12.

gcc/d/ChangeLog:

* Make-lang.in (D_FRONTEND_OBJS): Add d/common-bitfields.o,
d/mustuse.o.
* d-ctfloat.cc (CTFloat::isIdentical): Don't treat NaN values as
identical.
* dmd/MERGE: Merge upstream dmd 4d1bfcf14.
* expr.cc (ExprVisitor::visit (VoidInitExp *)): New.

libphobos/ChangeLog:

* libdruntime/MERGE: Merge upstream druntime 9ba9a6ae.
* src/MERGE: Merge upstream phobos c0cc5e917.
93 files changed:
gcc/d/Make-lang.in
gcc/d/d-ctfloat.cc
gcc/d/dmd/MERGE
gcc/d/dmd/README.md
gcc/d/dmd/VERSION
gcc/d/dmd/arrayop.d
gcc/d/dmd/attrib.d
gcc/d/dmd/common/README.md
gcc/d/dmd/common/bitfields.d [new file with mode: 0644]
gcc/d/dmd/common/file.d
gcc/d/dmd/common/outbuffer.d
gcc/d/dmd/common/string.d
gcc/d/dmd/constfold.d
gcc/d/dmd/ctfeexpr.d
gcc/d/dmd/dcast.d
gcc/d/dmd/declaration.d
gcc/d/dmd/dmangle.d
gcc/d/dmd/dmodule.d
gcc/d/dmd/dsymbol.d
gcc/d/dmd/dsymbolsem.d
gcc/d/dmd/dtemplate.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/hdrgen.d
gcc/d/dmd/id.d
gcc/d/dmd/initsem.d
gcc/d/dmd/json.d
gcc/d/dmd/lexer.d
gcc/d/dmd/mtype.d
gcc/d/dmd/mtype.h
gcc/d/dmd/mustuse.d [new file with mode: 0644]
gcc/d/dmd/opover.d
gcc/d/dmd/optimize.d
gcc/d/dmd/root/aav.d
gcc/d/dmd/root/array.d
gcc/d/dmd/root/complex.d
gcc/d/dmd/root/file.d
gcc/d/dmd/root/longdouble.d
gcc/d/dmd/root/optional.d
gcc/d/dmd/semantic2.d
gcc/d/dmd/statementsem.d
gcc/d/dmd/tokens.d
gcc/d/dmd/traits.d
gcc/d/dmd/typesem.d
gcc/d/dmd/utils.d
gcc/d/expr.cc
gcc/testsuite/gdc.test/compilable/extra-files/header1.d
gcc/testsuite/gdc.test/compilable/imports/imp17434a.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/imports/imp17434b.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/interpret3.d
gcc/testsuite/gdc.test/compilable/json.d
gcc/testsuite/gdc.test/compilable/mixintype2.d
gcc/testsuite/gdc.test/compilable/must_use_assign.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/must_use_not_reserved.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/must_use_opassign.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/must_use_opopassign.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/must_use_opunary.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/must_use_suppress.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/test17419.d
gcc/testsuite/gdc.test/compilable/test17434.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/test17434a.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/test19097.d
gcc/testsuite/gdc.test/compilable/test22988.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/test22997.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/diag14235.d
gcc/testsuite/gdc.test/fail_compilation/diag8101.d
gcc/testsuite/gdc.test/fail_compilation/diag_funclit.d
gcc/testsuite/gdc.test/fail_compilation/diagin.d
gcc/testsuite/gdc.test/fail_compilation/fail2656.d
gcc/testsuite/gdc.test/fail_compilation/fail99.d
gcc/testsuite/gdc.test/fail_compilation/fix19059.d
gcc/testsuite/gdc.test/fail_compilation/ice10922.d
gcc/testsuite/gdc.test/fail_compilation/ice9540.d
gcc/testsuite/gdc.test/fail_compilation/must_use.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/must_use_comma.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/must_use_opunary.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/must_use_reserved.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/must_use_template.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/must_use_union.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/test11176.d
gcc/testsuite/gdc.test/fail_compilation/test17284.d
gcc/testsuite/gdc.test/fail_compilation/test19097.d
gcc/testsuite/gdc.test/fail_compilation/test21008.d
gcc/testsuite/gdc.test/runnable/test20603.d [new file with mode: 0644]
gcc/testsuite/gdc.test/runnable/xtest46.d
libphobos/libdruntime/MERGE
libphobos/libdruntime/core/int128.d
libphobos/libdruntime/core/lifetime.d
libphobos/src/MERGE
libphobos/src/etc/c/zlib.d
libphobos/src/std/regex/internal/parser.d