https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85735
Bug ID: 85735 Summary: f951 crashes on empty input Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- Entering ^D: $ ./f951 -quiet f951: Warning: Reading file ‘<stdin>’ as free form .file "<stdin>" f951: internal compiler error: Segmentation fault 0xf41544 crash_signal /home/marek/src/gcc/gcc/toplev.c:325 0xf39315 get_identifier(char const*) /home/marek/src/gcc/gcc/stringpool.c:95 0x86d423 gfc_create_decls /home/marek/src/gcc/gcc/fortran/f95-lang.c:195 0x86d45c gfc_be_parse_file /home/marek/src/gcc/gcc/fortran/f95-lang.c:203 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. This works though: $ ./f951 -quiet - f951: Warning: Reading file ‘<stdin>’ as free form