> Most (all?) of those are due to: > f951: Warning: command-line option '-Wno-psabi' is valid for > C/C++/D/LTO/ObjC/ObjC++ but not for Fortran > so no real bug.
When pushing this, I'd take the liberty of enabling the recently merged vector ABI so we don't require -Wno-psabi anymore. All Fortran FAILs disappear and nothing else changes. --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -11166,12 +11166,12 @@ proc check_vect_support_and_set_flags { } { } elseif [istarget riscv64-*-*] { if [check_effective_target_riscv_vector_hw] { lappend DEFAULT_VECTCFLAGS "--param" "riscv-autovec-preference=scalable" - lappend DEFAULT_VECTCFLAGS "-Wno-psabi" + lappend DEFAULT_VECTCFLAGS "--param" "riscv-vector-abi" set dg-do-what-default run } else { lappend DEFAULT_VECTCFLAGS "-march=rv64gcv_zvfh" "-mabi=lp64d" lappend DEFAULT_VECTCFLAGS "--param" "riscv-autovec-preference=scalable" - lappend DEFAULT_VECTCFLAGS "-Wno-psabi" + lappend DEFAULT_VECTCFLAGS "--param" "riscv-vector-abi" set dg-do-what-default compile } } else { Regards Robin