re PR fortran/66052 (Segmentation fault for misplaced protected statement)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 18 May 2015 22:52:52 +0000 (22:52 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 18 May 2015 22:52:52 +0000 (22:52 +0000)
commit73641c881f4bfb156aca31fe78976a7236722e38
tree84fb2ac714ec3172071f3d12d759e925114a0574
parentbfeeb14516c9ef05958f47a1bad907c1e6d73f5b
re PR fortran/66052 (Segmentation fault for misplaced protected statement)

2015-05-18  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/66052
* decl.c(gfc_match_protected): Prevent dereference of NULL pointer.

2015-05-18  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/66052
* gfortran.dg/protected_9.f90: New test.

From-SVN: r223324
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/protected_9.f90 [new file with mode: 0644]