https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66052
--- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue May 19 18:10:44 2015 New Revision: 223408 URL: https://gcc.gnu.org/viewcvs?rev=223408&root=gcc&view=rev Log: 2015-05-19 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/66052 * decl.c(gfc_match_protected): Prevent dereference of NULL pointer. 2015-05-19 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/66052 * gfortran.dg/protected_9.f90: New test. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/protected_9.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/decl.c branches/gcc-5-branch/gcc/testsuite/ChangeLog