https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85702
Bug ID: 85702 Summary: ICE in gfc_format_decoder, at fortran/error.c:943 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Affects versions down to gfortran-5 : $ cat z1.f90 subroutine s !$acc wait(*) end $ gfortran-9-20180506 -c z1.f90 -fopenacc 0xb9e99f crash_signal ../../gcc/toplev.c:325 0x6a6007 gfc_format_decoder ../../gcc/fortran/error.c:943 0x12f5cb3 pp_format(pretty_printer*, text_info*) ../../gcc/pretty-print.c:1375 0x12eecbb diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*) ../../gcc/diagnostic.c:984 0x6a5f37 gfc_error_opt ../../gcc/fortran/error.c:1308 0x6a74d0 gfc_error(char const*, ...) ../../gcc/fortran/error.c:1337 0x6ef41f gfc_match_oacc_wait() ../../gcc/fortran/openmp.c:2181 0x6f69d9 match_word_omp_simd ../../gcc/fortran/parse.c:93 0x6f6d51 match_word ../../gcc/fortran/parse.c:61 0x6f6d51 decode_oacc_directive ../../gcc/fortran/parse.c:697 0x6fc32f next_free ../../gcc/fortran/parse.c:1215 0x6fc32f next_statement ../../gcc/fortran/parse.c:1462 0x6fde0c parse_spec ../../gcc/fortran/parse.c:3670 0x6ffdd3 parse_progunit ../../gcc/fortran/parse.c:5667 0x7016c4 gfc_parse_file() ../../gcc/fortran/parse.c:6214 0x74832f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204