https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82994
--- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Feb 7 22:29:22 2018 New Revision: 257465 URL: https://gcc.gnu.org/viewcvs?rev=257465&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: trunk/gcc/testsuite/gfortran.dg/deallocate_error_3.f90 trunk/gcc/testsuite/gfortran.dg/deallocate_error_4.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/match.c trunk/gcc/testsuite/ChangeLog