This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68054] ICE on using protected attribute in program without program statement
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Oct 2015 17:24:24 +0000
- Subject: [Bug fortran/68054] ICE on using protected attribute in program without program statement
- Auto-submitted: auto-generated
- References: <bug-68054-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68054
--- Comment #2 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Oct 29 17:23:52 2015
New Revision: 229542
URL: https://gcc.gnu.org/viewcvs?rev=229542&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/pr68054.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog