d/dmd: Merge upstream dmd 19b1454b5
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 12 Mar 2019 23:10:49 +0000 (23:10 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Tue, 12 Mar 2019 23:10:49 +0000 (23:10 +0000)
commitb9da0278667b43843b750a1ad35a9d6dbc1d1b54
tree959bad96bf54189520e6ba013b1e28b19b0285bd
parent035f5b9e0b9fd181aea5d228ddfd91a5a7161dcf
d/dmd: Merge upstream dmd 19b1454b5

Backports fixes for many ICEs that occurred when using the vector .array
property in both CTFE and code generation passes.

Fixes https://gcc.gnu.org/PR88957

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

gcc/d/ChangeLog:

2019-03-13  Iain Buclaw  <ibuclaw@gdcproject.org>

PR d/88957
* expr.cc (ExprVisitor::visit(VectorArrayExp)): New override.

gcc/testsuite/ChangeLog:

2019-03-13  Iain Buclaw  <ibuclaw@gdcproject.org>

PR d/88957
* gdc.dg/pr88957.d: New test.
* gdc.dg/simd.d: Add new vector tests.

From-SVN: r269627
17 files changed:
gcc/d/ChangeLog
gcc/d/dmd/MERGE
gcc/d/dmd/ctfeexpr.c
gcc/d/dmd/dinterpret.c
gcc/d/dmd/expression.c
gcc/d/dmd/expression.h
gcc/d/dmd/expressionsem.c
gcc/d/dmd/hdrgen.c
gcc/d/dmd/mtype.c
gcc/d/dmd/parse.c
gcc/d/dmd/tokens.c
gcc/d/dmd/tokens.h
gcc/d/dmd/visitor.h
gcc/d/expr.cc
gcc/testsuite/ChangeLog
gcc/testsuite/gdc.dg/pr88957.d [new file with mode: 0644]
gcc/testsuite/gdc.dg/simd.d