This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/58904] ICE: accessing a component field of an unavailable type results in a seg fault
- 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: Fri, 16 Mar 2018 22:50:33 +0000
- Subject: [Bug fortran/58904] ICE: accessing a component field of an unavailable type results in a seg fault
- Auto-submitted: auto-generated
- References: <bug-58904-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58904
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
CC| |kargl at gcc dot gnu.org
--- Comment #5 from kargl at gcc dot gnu.org ---
The original testcase on FreeBSD gives
troutmask:sgk[209] gfcx -c a.f90
a.f90:4:4:
r%b = b
1
Error: Unclassifiable statement at (1)
a.f90:2:2:
TYPE(mytype) FUNCTION create_sort_range(b) result(r)
1
Error: The type for function 'create_sort_range' at (1) is not accessible
a.f90:6:3:
END MODULE mymod
1
Error: Expecting END PROGRAM statement at (1)
f951: Error: Unexpected end of file in 'a.f90'
without an ICE.