The attached patch fixes an ICE that occurs when gfortran is not expecting a PROTECTED attribute. Built and tested on x86_64-*-freebsd. OK to commit? 2015-10-24 Steven G. Kargl PR fortran/68054 * decl.c (match_attr_spec): PROTECTED can only be a module. 2015-10-24 Steven G. Kargl PR fortran/68054 * gfortran.dg/pr68054.f90: New test. -- Steve