https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110996
JuzheZhong <juzhe.zhong at rivai dot ai> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juzhe.zhong at rivai dot ai --- Comment #1 from JuzheZhong <juzhe.zhong at rivai dot ai> --- I don't think this is RISC-V target specific issue, at leas it should not be the RVV specific issue: [jzzhong@rios-cad5:/work/home/jzzhong/work/insn]$~/work/rvv-opensource/output/gcc-rv64/bin/riscv64-rivai-elf-gfortran -march=rv64gc -mabi=lp64d -Ofast pr110996.f90 pr110996.f90:6:20: 6 | SUBROUTINE c(d) e | 1 Error: Syntax error in SUBROUTINE statement at (1) f951: internal compiler error: Segmentation fault 0x17bd167 crash_signal ../../../riscv-gcc/gcc/toplev.cc:314 0xe9d659 resolve_symbol ../../../riscv-gcc/gcc/fortran/resolve.cc:16643 0xec5dfd do_traverse_symtree ../../../riscv-gcc/gcc/fortran/symbol.cc:4190 0xec5eb8 gfc_traverse_ns(gfc_namespace*, void (*)(gfc_symbol*)) ../../../riscv-gcc/gcc/fortran/symbol.cc:4215 0xea0421 resolve_types ../../../riscv-gcc/gcc/fortran/resolve.cc:17963 0xea04d9 resolve_types ../../../riscv-gcc/gcc/fortran/resolve.cc:17977 0xea0915 gfc_resolve(gfc_namespace*) ../../../riscv-gcc/gcc/fortran/resolve.cc:18083 0xe6bd6b resolve_all_program_units ../../../riscv-gcc/gcc/fortran/parse.cc:6909 0xe6c558 gfc_parse_file() ../../../riscv-gcc/gcc/fortran/parse.cc:7165 0xed11d9 gfc_be_parse_file ../../../riscv-gcc/gcc/fortran/f95-lang.cc:229 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. It can be reproduced without 'v' extension in '-march'.