[Bug fortran/91715] New: ICE in resolve_fntype, at fortran/resolve.c:16884
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Sep 9 17:11:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91715
Bug ID: 91715
Summary: ICE in resolve_fntype, at fortran/resolve.c:16884
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
With a typo, down to at least gfortran-5.
$ cat z1.f90
character(1function f()
end
$ gfortran-10-20190901 -c z1.f90
f951: internal compiler error: Segmentation fault
0xcb928f crash_signal
../../gcc/toplev.c:326
0x6af81c resolve_fntype
../../gcc/fortran/resolve.c:16884
0x6af81c resolve_types
../../gcc/fortran/resolve.c:17027
0x6b349c gfc_resolve(gfc_namespace*)
../../gcc/fortran/resolve.c:17140
0x6a196c resolve_all_program_units
../../gcc/fortran/parse.c:6193
0x6a196c gfc_parse_file()
../../gcc/fortran/parse.c:6440
0x6eca8f gfc_be_parse_file
../../gcc/fortran/f95-lang.c:204
More information about the Gcc-bugs
mailing list