[Bug fortran/77406] New: ICE in generic_correspondence, at fortran/interface.c:1123
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Aug 29 19:19:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77406
Bug ID: 77406
Summary: ICE in generic_correspondence, at
fortran/interface.c:1123
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: ---
With invalid code, down to at least 4.8 :
$ cat z1.f90
module m
interface s
subroutine s1(*)
end
subroutine s2(*)
end
end interface
end
program p
use m
end
$ gfortran-7-20160828 z1.f90
f951: internal compiler error: Segmentation fault
0xc1e32f crash_signal
../../gcc/toplev.c:335
0x692347 generic_correspondence
../../gcc/fortran/interface.c:1123
0x6932ee gfc_compare_interfaces(gfc_symbol*, gfc_symbol*, char const*, int,
int, char*, int, char const*, char const*)
../../gcc/fortran/interface.c:1615
0x6939f8 check_interface1
../../gcc/fortran/interface.c:1778
0x693c68 check_sym_interfaces
../../gcc/fortran/interface.c:1835
0x70a62b do_traverse_symtree
../../gcc/fortran/symbol.c:3930
0x696a17 gfc_check_interfaces(gfc_namespace*)
../../gcc/fortran/interface.c:1926
0x6f402c resolve_types
../../gcc/fortran/resolve.c:15505
0x6efb8c gfc_resolve(gfc_namespace*)
../../gcc/fortran/resolve.c:15600
0x6db3e4 gfc_parse_file()
../../gcc/fortran/parse.c:6055
0x71d3a2 gfc_be_parse_file
../../gcc/fortran/f95-lang.c:198
More information about the Gcc-bugs
mailing list