From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40484 invoked by alias); 29 Mar 2015 20:38:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 40423 invoked by uid 48); 29 Mar 2015 20:38:41 -0000 From: "drikosev at otenet dot gr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59016] f951: internal compiler error: Segmentation fault Date: Sun, 29 Mar 2015 22:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: drikosev at otenet dot gr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg03336.txt.bz2 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)