d/dmd: Merge upstream dmd f8e38c001
authorIain Buclaw <ibuclaw@gcc.gnu.org>
Sun, 16 Jun 2019 07:50:07 +0000 (07:50 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sun, 16 Jun 2019 07:50:07 +0000 (07:50 +0000)
commite5d0ba591e28d8be1fb5775fb0418fee04af17d7
tree2e9f2bbf419a978098a1a9c4cb3305fd4a402a89
parent9bf706aae20a891885780c9d419addd5d0bc510d
d/dmd: Merge upstream dmd f8e38c001

Fixes bug where foreach(int) doesn't work on BigEndian targets by
deprecating the use of index types smaller than a size_t/ptrdiff_t.

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

From-SVN: r272350
gcc/d/dmd/MERGE
gcc/d/dmd/statementsem.c
gcc/testsuite/gdc.test/compilable/b16976.d [new file with mode: 0644]
gcc/testsuite/gdc.test/compilable/interpret3.d
gcc/testsuite/gdc.test/fail_compilation/diag16976.d [new file with mode: 0644]
gcc/testsuite/gdc.test/fail_compilation/fail110.d
libphobos/libdruntime/MERGE
libphobos/libdruntime/rt/minfo.d