diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-08-28 09:02:58 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2020-08-28 09:02:58 +0100 |
commit | 9d463ce7f983f03f0d65da03cfa430e29a0840c2 (patch) | |
tree | 41ec23c59b00c5ee782babaea371f2d1fe85700f /gcc/fortran/trans-array.c | |
parent | 3ba43155d2b27978589b2c1b0c4fdbaf8d4bba4d (diff) | |
download | gcc-9d463ce7f983f03f0d65da03cfa430e29a0840c2.zip gcc-9d463ce7f983f03f0d65da03cfa430e29a0840c2.tar.gz gcc-9d463ce7f983f03f0d65da03cfa430e29a0840c2.tar.bz2 |
This patch fixes PR96624.
2020-08-28 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/96624
* simplify.c (gfc_simplify_reshape): Detect zero shape and
clear index if found.
gcc/testsuite/
PR fortran/96624
* gfortran.dg/reshape_8.f90 : New test.
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions