d/dmd: Merge upstream dmd 375ed10aa
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 21 Aug 2019 07:53:35 +0000 (07:53 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 21 Aug 2019 07:53:35 +0000 (07:53 +0000)
commitde83a4c14b4715f4ecd42d3f3024edf31ae8d714
tree6be69fff09b0519948419c775912b8fa80eeea24
parentedf095929fdec6a0c183ab5fd119f26dfd406b13
d/dmd: Merge upstream dmd 375ed10aa

Don't crash when compiling for 16-bit platforms.

Reviewed-on: https://github.com/dlang/dmd/pull/10306

gcc/d/ChangeLog:

* d-target.cc: Include diagnostic.h.
(Target::_init): Set Tsize_t and Tptrdiff_t as D ushort and short if
the target pointer size is 2.  Add sorry if the pointer size is not
either 2, 4, or 8.

From-SVN: r274768
gcc/d/ChangeLog
gcc/d/d-target.cc
gcc/d/dmd/MERGE
gcc/d/dmd/expression.c
gcc/d/dmd/hdrgen.c