re PR fortran/68566 (ICE on using unusable array in reshape (double free or corruption))
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 30 Jul 2016 23:01:06 +0000 (23:01 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 30 Jul 2016 23:01:06 +0000 (23:01 +0000)
commit9fcb28197f056fd7e1ace31db7aa7f0104f7eb96
tree54c1c5e532ad18166a3465120bb778aa7e7682a7
parent8bada5cd4e51feb60e1e887ecf0bda3288949af4
re PR fortran/68566 (ICE on using unusable array in reshape (double free or corruption))

2016-07-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68566
* check.c (gfc_check_reshape): Check for constant expression.

2016-07-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68566
* gfortran.dg/pr68566.f90: new test.

From-SVN: r238911
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr68566.f90 [new file with mode: 0644]