[Bug fortran/58904] ICE: accessing a component field of an unavailable type results in a seg fault
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 16 22:50:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list