gcc/libphobos
Iain Buclaw 5a36cae275 d: Merge upstream dmd 609c3ce2d, phobos 3dd5df686
D front-end changes:

 - Contracts for pre- and postconditions are now implicitly "this"
   const, so that state can no longer be altered in these functions.

 - Inside a constructor scope, assigning to aggregate declaration
   members is done by considering the first assignment as initialization
   and subsequent assignments as modifications of the constructed
   object.  For const/immutable fields the initialization is accepted in
   the constructor but subsequent modifications are not.  However this
   rule did not apply when inside a constructor scope there is a call to
   a different constructor.  This been changed so it is now an error
   when there's a double initialization of immutable fields inside a
   constructor.

Phobos changes:

 - Don't run unit-tests for unsupported clocks in std.datetime.  The
   phobos and phobos_shared tests now add -fversion=Linux_Pre_2639 if
   required.

 - Deprecate public extern(C) bindings for getline and getdelim in
   std.stdio.  The correct module for bindings is core.sys.posix.stdio.

Reviewed-on: https://github.com/dlang/dmd/pull/12153
	     https://github.com/dlang/phobos/pull/7768

gcc/d/ChangeLog:

	* dmd/MERGE: Merge upstream dmd 609c3ce2d.
	* d-compiler.cc (Compiler::loadModule): Rename to ...
	(Compiler::onParseModule): ... this.
	(Compiler::onImport): New function.
	* d-lang.cc (d_parse_file): Remove call to Compiler::loadModule.

libphobos/ChangeLog:

	* src/MERGE: Merge upstream phobos 3dd5df686.
	* testsuite/libphobos.phobos/phobos.exp: Add compiler flag
	-fversion=Linux_Pre_2639 if target is linux_pre_2639.
	* testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
2021-01-26 09:54:57 +01:00
..
libdruntime libphobos: Fix executables segfault on mipsel architecture 2021-01-24 00:20:25 +01:00
m4 d: Add dragonflybsd support for D compiler and runtime 2020-11-18 10:22:06 +01:00
src d: Merge upstream dmd 609c3ce2d, phobos 3dd5df686 2021-01-26 09:54:57 +01:00
testsuite d: Merge upstream dmd 609c3ce2d, phobos 3dd5df686 2021-01-26 09:54:57 +01:00
acinclude.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
aclocal.m4 libphobos: Add --enable-cet to configure 2020-05-08 15:11:41 -07:00
ChangeLog Daily bump. 2021-01-24 00:16:16 +00:00
config.h.in libphobos: Fix configure test for backtrace-supported.h 2019-04-16 05:58:25 +00:00
configure Update GNU/Hurd configure support 2021-01-05 16:04:14 -07:00
configure.ac Update copyright years. 2021-01-04 10:26:59 +01:00
configure.tgt Update copyright years. 2021-01-04 10:26:59 +01:00
d_rules.am Update copyright years. 2021-01-04 10:26:59 +01:00
Makefile.am Update copyright years. 2021-01-04 10:26:59 +01:00
Makefile.in libphobos: Fix segfault at run-time when using custom Fibers (PR 98025) 2020-11-27 21:27:14 +01:00
README.gcc Document merge process for dmd, druntime and phobos. 2019-01-12 19:50:41 +00:00

The files in this directory where noted are part of the DRuntime
and Phobos library.

DRuntime is the low-level runtime library backing the D programming
language, hosted at https://github.com/dlang/druntime/.

Phobos is the standard library for the D Programming Language, hosted
at https://github.com/dlang/phobos/.

The following sources and directories are part of DRuntime:
  libdruntime/core/
  libdruntime/gc/
  libdruntime/gcstub/
  libdruntime/object.d
  libdruntime/rt/

The following sources and directories are part of Phobos:
  src/etc/
  src/index.d
  src/std/

To report a bug or look up known issues with the runtime or standard
library please visit the issue tracker at https://issues.dlang.org/.

All changes to either of these libraries should go through the
upstream repository first, then merged back to GCC.