[Bug fortran/78592] New: ICE in gfc_find_specific_dtio_proc, at fortran/interface.c:4939
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue Nov 29 18:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78592
Bug ID: 78592
Summary: ICE in gfc_find_specific_dtio_proc, at
fortran/interface.c:4939
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: ---
Affects version 7 (configured with --enable-checking=yes)
since about 20160904 :
$ cat z1.f90
program p
type t
end type
type(t) :: z
interface write(formatted)
module procedure wf
end interface
print *, z
end
$ gfortran-7-20161127 z1.f90
z1.f90:6:23:
module procedure wf
1
Error: Procedure 'wf' in generic interface '_dtio_formatted_write' at (1) is
neither function nor subroutine
f951: internal compiler error: Segmentation fault
0xc4532f crash_signal
../../gcc/toplev.c:333
0x69ff6d gfc_find_specific_dtio_proc(gfc_symbol*, bool, bool)
../../gcc/fortran/interface.c:4939
0x6fa32b resolve_transfer
../../gcc/fortran/resolve.c:8973
0x6fa32b gfc_resolve_code(gfc_code*, gfc_namespace*)
../../gcc/fortran/resolve.c:11138
0x6f8c07 gfc_resolve_blocks(gfc_code*, gfc_namespace*)
../../gcc/fortran/resolve.c:9865
0x6f903b gfc_resolve_code(gfc_code*, gfc_namespace*)
../../gcc/fortran/resolve.c:10808
0x6fba22 resolve_codes
../../gcc/fortran/resolve.c:16025
0x6fbb1e gfc_resolve(gfc_namespace*)
../../gcc/fortran/resolve.c:16060
0x6e609a resolve_all_program_units
../../gcc/fortran/parse.c:5977
0x6e609a gfc_parse_file()
../../gcc/fortran/parse.c:6224
0x729ee2 gfc_be_parse_file
../../gcc/fortran/f95-lang.c:202
More information about the Gcc-bugs
mailing list