gcc/libphobos/testsuite
Iain Buclaw 235d5a96cb d: Merge upstream dmd 47871363d, druntime, c52e28b7, phobos 99e9c1b77.
D front-end changes:

    - Import dmd v2.099.1-beta.1.
    - The address of NRVO variables is now stored in scoped closures
      when they have nested references.
    - Using `__traits(parameters)' in foreach loops now always returns
      the parameters to the function the foreach appears within.
      Previously, when used inside a `foreach' using an overloaded
      `opApply', the trait would yield the parameters to the delegate.
    - The deprecation period of unannotated `asm' blocks has been ended.
    - The `inout' attribute no longer implies the `return' attribute.
    - Added new `D_PreConditions', `D_PostConditions', and
      `D_Invariants' version identifiers.

D runtime changes:

    - Import druntime v2.099.1-beta.1.

Phobos changes:

    - Import phobos v2.099.1-beta.1.
    - `Nullable' in `std.typecons' can now act as a range.
    - std.experimental.logger default level changed to `info' instead of
      `warning'.

gcc/d/ChangeLog:

	* dmd/MERGE: Merge upstream dmd 47871363d.
	* d-builtins.cc (d_init_versions): Add predefined version identifiers
	D_PreConditions, D_PostConditions, and D_Invariants.
	* d-codegen.cc (d_build_call): Update for new front-end interface.
	(build_frame_type): Generate reference field for NRVO variables with
	nested references.
	(build_closure): Generate assignment of return address to closure.
	* d-tree.h (DECL_INSTANTIATED): Use DECL_LANG_FLAG_2.
	(bind_expr): Remove.
	* decl.cc (DeclVisitor::visit (FuncDeclaration *)): Update for new
	front-end interface.
	(get_symbol_decl): Likewise.
	(get_decl_tree): Check DECL_LANG_FRAME_FIELD before DECL_LANG_NRVO.
	Dereference the field when both are set.
	* expr.cc (ExprVisitor::visit (DeleteExp *)): Update for new front-end
	interface.
	* modules.cc (get_internal_fn): Likewise.
	* toir.cc (IRVisitor::visit (ReturnStatement *)): Likewise.

libphobos/ChangeLog:

	* libdruntime/MERGE: Merge upstream druntime c52e28b7.
	* libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
	core/sys/openbsd/pwd.d.
	* libdruntime/Makefile.in: Regenerate.
	* src/MERGE: Merge upstream phobos 99e9c1b77.
	* testsuite/libphobos.exceptions/message_with_null.d: New test.

gcc/testsuite/ChangeLog:

	* gdc.dg/nrvo1.d: New test.
2022-04-02 23:56:52 +02:00
..
config Update copyright years. 2022-01-03 10:42:10 +01:00
lib Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.aa Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.allocations Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.betterc d: Merge upstream dmd cb49e99f8, druntime 55528bd1, phobos 1a3e80ec2. 2022-02-20 23:37:32 +01:00
libphobos.config Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.cycles Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.druntime Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.druntime_shared Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.exceptions d: Merge upstream dmd 47871363d, druntime, c52e28b7, phobos 99e9c1b77. 2022-04-02 23:56:52 +02:00
libphobos.gc Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.hash d: Merge upstream dmd cb49e99f8, druntime 55528bd1, phobos 1a3e80ec2. 2022-02-20 23:37:32 +01:00
libphobos.imports Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.init_fini Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.lifetime Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.phobos Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.phobos_shared Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.shared Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.thread Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.traits Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.typeinfo Update copyright years. 2022-01-03 10:42:10 +01:00
libphobos.unittest Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.am Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.in libphobos: Build runtime library with -ffunction-sections -fdata-sections 2021-04-10 15:02:07 +02:00
testsuite_flags.in d: Merge upstream dmd 52844d4b1, druntime dbd0c874, phobos 896b1d0e1. 2022-02-16 11:15:02 +01:00