[Bug fortran/77533] New: ICE in check_dtio_interface1, at fortran/interface.c:4614
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Sep 8 18:34:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77533
Bug ID: 77533
Summary: ICE in check_dtio_interface1, at
fortran/interface.c:4614
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
Referencing an unknown type :
$ cat z1.f90
module m
type t
type(unknown), pointer :: next
contains
procedure :: s
generic :: write(formatted) => s
end type
contains
subroutine s(x)
end
end
$ gfortran-7-20160904 z1.f90
z1.f90:3:36:
type(unknown), pointer :: next
1
Error: The pointer component 'next' of 't' at (1) is a type that has not been
declared
f951: internal compiler error: Segmentation fault
0xc2100f crash_signal
../../gcc/toplev.c:336
0x692790 check_dtio_interface1
../../gcc/fortran/interface.c:4614
0x69a293 gfc_check_dtio_interfaces(gfc_symbol*)
../../gcc/fortran/interface.c:4729
0x70c87b do_traverse_symtree
../../gcc/fortran/symbol.c:3939
0x6f65c0 resolve_types
../../gcc/fortran/resolve.c:15658
0x6f1d9c gfc_resolve(gfc_namespace*)
../../gcc/fortran/resolve.c:15730
0x6dd3a4 gfc_parse_file()
../../gcc/fortran/parse.c:6056
0x71f602 gfc_be_parse_file
../../gcc/fortran/f95-lang.c:198
More information about the Gcc-bugs
mailing list