re PR fortran/83742 (ICE in gfc_is_simply_contiguous, at fortran/expr.c:5323)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 9 Jan 2018 19:49:25 +0000 (19:49 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 9 Jan 2018 19:49:25 +0000 (19:49 +0000)
commitd4319ef830cfbbc12965bd1853cfde919bd842ab
tree83bcd4c2da434e1545d8d7014652e0c694801d2f
parentd2dfcf823c0ba2b654f8d25a9ec46f59612cb60c
re PR fortran/83742 (ICE in gfc_is_simply_contiguous, at fortran/expr.c:5323)

2018-01-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/83742
* expr.c (gfc_is_simply_contiguous): Check for NULL pointer.

2018-01-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/83742
* gfortran.dg/contiguous_6.f90: New test.

From-SVN: r256391
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/contiguous_6.f90 [new file with mode: 0644]