d: Turn on deprecation warnings by default.
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 23 Jun 2020 08:40:37 +0000 (10:40 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 25 Jun 2020 15:02:45 +0000 (17:02 +0200)
commit6948c7c3d29bf5892299550a19ce615a85ef9b2b
tree3ab9d80b327c79a5e3f1b611541c181d68949ce7
parent72acf751d8eb41bab7a4d8b4dd74f8165b10cd71
d: Turn on deprecation warnings by default.

This is the default in the upstream reference compiler, and can reduce
some confusion when comparing warning/error messages of gdc and dmd side
by side.

Merges libphobos with upstream druntime d05ebaad and phobos 021ae0df7.

Reviewed-on: https://github.com/dlang/druntime/pull/3127
     https://github.com/dlang/phobos/pull/7521

gcc/d/ChangeLog:

* d-lang.cc (d_init_options): Turn on deprecation warnings by default.

libphobos/ChangeLog:

* libdruntime/MERGE: Merge upstream druntime d05ebaad.
* src/MERGE: Merge upstream phobos 021ae0df7.
* testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.

gcc/testsuite/ChangeLog:

* gdc.dg/asm1.d: Don't use deprecated asm syntax.
* gdc.dg/compilable.d: Add public to selective import.
* gdc.dg/lto/ltotests_0.d: Explicitly catch Throwable.
* gdc.dg/runnable.d: Remove empty statement.
gcc/d/d-lang.cc
gcc/testsuite/gdc.dg/asm1.d
gcc/testsuite/gdc.dg/compilable.d
gcc/testsuite/gdc.dg/lto/ltotests_0.d
gcc/testsuite/gdc.dg/runnable.d
libphobos/libdruntime/MERGE
libphobos/libdruntime/rt/util/utf.d
libphobos/src/MERGE
libphobos/src/std/range/package.d
libphobos/testsuite/libphobos.typeinfo/struct-align.d