re PR fortran/92898 (ICE in gfc_check_is_contiguous, at fortran/check.c:7157)
authorHarald Anlauf <anlauf@gmx.de>
Thu, 12 Dec 2019 20:39:48 +0000 (20:39 +0000)
committerHarald Anlauf <anlauf@gcc.gnu.org>
Thu, 12 Dec 2019 20:39:48 +0000 (20:39 +0000)
commit5e4bb241476d2cd81fc1dac1bede902d3dd9c1e3
treec341fbc7a3ccf9be803a8c4501d6142059df5c97
parent666b46c6106dbd3ad6a27be4bf1844ccbaa8e67d
re PR fortran/92898 (ICE in gfc_check_is_contiguous, at fortran/check.c:7157)

2019-12-12  Harald Anlauf  <anlauf@gmx.de>

PR fortran/92898
* check.c (gfc_check_is_contiguous): Simplify check to handle
arbitrary NULL() argument.

PR fortran/92898
* gfortran.dg/pr92898.f90: New test.

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