re PR fortran/68864 (ICE: in gfc_get_descriptor_dimension, at fortran/trans-array...
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 1 Jan 2016 17:02:51 +0000 (17:02 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 1 Jan 2016 17:02:51 +0000 (17:02 +0000)
commit591bb5e4bf6b9a75175b162bcf9d22bcae2b5abf
treed9ec0725f3a82d26c2a6aae4255fe82f7aa87938
parent942a13194f3efa752dbb1d9b8fbe6ceb9d104e13
re PR fortran/68864 (ICE: in gfc_get_descriptor_dimension, at fortran/trans-array.c:268)

2016-01-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68864
* trans-array.c (evaluate_bound): If deferred, test that 'desc'
is an array descriptor before using gfc_conv_descriptor_xxx.

2016-01-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68864
* gfortran.dg/pr68864.f90: New test.

From-SVN: r232026
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr68864.f90 [new file with mode: 0644]