https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82994
--- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Feb 7 22:36:24 2018 New Revision: 257467 URL: https://gcc.gnu.org/viewcvs?rev=257467&root=gcc&view=rev Log: 2018-02-07 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/82994 * match.c (gfc_match_deallocate): Check for NULL pointer. 2018-02-07 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/82994 * gfortran.dg/deallocate_error_3.f90: New test. * gfortran.dg/deallocate_error_4.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/deallocate_error_3.f90 branches/gcc-7-branch/gcc/testsuite/gfortran.dg/deallocate_error_4.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/match.c branches/gcc-7-branch/gcc/testsuite/ChangeLog