[Bug fortran/91587] New: ICE in gfc_resolve_filepos, at fortran/io.c:2913
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Aug 28 19:09:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91587
Bug ID: 91587
Summary: ICE in gfc_resolve_filepos, at fortran/io.c:2913
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 invalid code down to at least gfortran-5 :
$ cat z1.f90
program p
backspace (err=!)
endfile (err=!)
flush (err=!)
rewind (err=!)
end
$ gfortran-10-20190825 -c z1.f90
f951: internal compiler error: Segmentation fault
0xb3acef crash_signal
../../gcc/toplev.c:326
0x640d4f gfc_resolve_filepos(gfc_filepos*, locus*)
../../gcc/fortran/io.c:2913
0x685cff gfc_resolve_code(gfc_code*, gfc_namespace*)
../../gcc/fortran/resolve.c:11701
0x687ca7 resolve_codes
../../gcc/fortran/resolve.c:16921
0x687d6e gfc_resolve(gfc_namespace*)
../../gcc/fortran/resolve.c:16956
0x67581c resolve_all_program_units
../../gcc/fortran/parse.c:6073
0x67581c gfc_parse_file()
../../gcc/fortran/parse.c:6320
0x6bf60f gfc_be_parse_file
../../gcc/fortran/f95-lang.c:204
More information about the Gcc-bugs
mailing list