https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91519
Bug ID: 91519 Summary: [regression]ICE error in 521.wrf_r Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: crazylht at gmail dot com Target Milestone: --- Created attachment 46740 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46740&action=edit samp.f90 Compile option: /usr/gcc10_20190821/bin/gfortran -O2 ./samp.f90 -S -mtune=generic error message: in gfc_format_decoder, at fortran/error.c:947 0x5e8059 gfc_format_decoder ../../../gnu-toolchain/gcc/gcc/fortran/error.c:947 0x17cb961 pp_format(pretty_printer*, text_info*) ../../../gnu-toolchain/gcc/gcc/pretty-print.c:1390 0x17b5f99 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*) ../../../gnu-toolchain/gcc/gcc/diagnostic.c:1025 0x7fca90 gfc_error_opt ../../../gnu-toolchain/gcc/gcc/fortran/error.c:1313 0x7fe15d gfc_error(char const*, ...) ../../../gnu-toolchain/gcc/gcc/fortran/error.c:1342 0x898396 gfc_find_sym_tree(char const*, gfc_namespace*, int, gfc_symtree**) ../../../gnu-toolchain/gcc/gcc/fortran/symbol.c:3239 0x8983cf gfc_find_symbol(char const*, gfc_namespace*, int, gfc_symbol**) ../../../gnu-toolchain/gcc/gcc/fortran/symbol.c:3290 0x93d5c3 check_externals_expr ../../../gnu-toolchain/gcc/gcc/fortran/frontend-passes.c:5397 0x940885 gfc_expr_walker(gfc_expr**, int (*)(gfc_expr**, int*, void*), void*) ../../../gnu-toolchain/gcc/gcc/fortran/frontend-passes.c:4919 0x940ae9 gfc_expr_walker(gfc_expr**, int (*)(gfc_expr**, int*, void*), void*) ../../../gnu-toolchain/gcc/gcc/fortran/frontend-passes.c:4926 0x94358a gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../../gnu-toolchain/gcc/gcc/fortran/frontend-passes.c:5343 0x9435b7 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../../gnu-toolchain/gcc/gcc/fortran/frontend-passes.c:5345 0x944c61 gfc_check_externals(gfc_namespace*) ../../../gnu-toolchain/gcc/gcc/fortran/frontend-passes.c:5453 0x944c86 gfc_check_externals(gfc_namespace*) ../../../gnu-toolchain/gcc/gcc/fortran/frontend-passes.c:5458 0x85a714 gfc_parse_file() ../../../gnu-toolchain/gcc/gcc/fortran/parse.c:6326 0x8a5c5f gfc_be_parse_file ../../../gnu-toolchain/gcc/gcc/fortran/f95-lang.c:204 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.