https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92898
--- Comment #4 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Thu Dec 12 20:46:03 2019 New Revision: 279315 URL: https://gcc.gnu.org/viewcvs?rev=279315&root=gcc&view=rev Log: 2019-12-12 Harald Anlauf <anl...@gmx.de> Backport from mainline 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. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr92898.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/check.c branches/gcc-9-branch/gcc/testsuite/ChangeLog