re PR fortran/68054 (ICE on using protected attribute in program without program...
commit721be0f47c5c0bb994af6df6f2e2793f9bd13ee3
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 29 Oct 2015 17:23:52 +0000 (29 17:23 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 29 Oct 2015 17:23:52 +0000 (29 17:23 +0000)
treeae4fa32ce8f0b772d60ee73ba7796e58e8bfb990
parent730f6d14253f7c8f44eff8c03beb5984e2f4c6cf
re PR fortran/68054 (ICE on using protected attribute in program without program statement)

2015-10-29  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68054
* decl.c (match_attr_spec): PROTECTED can only be a module.

2015-10-29  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68054
* gfortran.dg/pr68054.f90: New test.

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