https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110996
--- Comment #4 from JuzheZhong <juzhe.zhong at rivai dot ai> --- (In reply to Jeremy Bennett from comment #3) > @JuzheZhong I believe this is in someway related to RVV. If I remove `v' > from the march: > > riscv64-unknown-linux-gnu-gfortran -march=rv64gc -mabi=lp64d -c -Ofast > testcase.f90 > > The output I get is correct: > > testcase.f90:6:20: > > 6 | SUBROUTINE c(d) e > | 1 > Error: Syntax error in SUBROUTINE statement at (1) > > Why does adding `v' to the -march string cause a SEGV? I didn't reproduce the issue. What I see is GCC has ICE even without 'v' in -march. And I have no idea for it.