This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/59016] f951: internal compiler error: Segmentation fault
- From: "drikosev at otenet dot gr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 29 Mar 2015 20:38:41 +0000
- Subject: [Bug fortran/59016] f951: internal compiler error: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-59016-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59016
--- Comment #8 from drikosev at otenet dot gr ---
When gfortran reports the error, it expects that the name 'atomic_kind_type' is
likely a procedure or function; but the syntax of the access-stmt is:
access-stmt ::= access-spec [ [ :: ] access-id-list ]
access-id ::= use-name | generic-spec
access-spec::=
Each use-name shall be the name of a named variable, procedure, derived type,
named constant, or namelist group.
Perhaps, a more accurate error message could be:
PUBLIC :: atomic_kind_type
1
Error: Undefined use-name 'atomic_kind_type' in access statement at (1)