https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123773
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to avieira from comment #5)
> Either way, Andrew can you check whether this fixes your fortran?
I will see what fails now.
I was using
`--target_board=qemu_board/-march=armv9-a+sve2/-msve-vector-bits=${SVE_BITS}/-mmax-vectorization/-mautovec-preference=sve-only/`
to pass to RUNTESTFLAGS to do the runs with a cross compiler.
And then also set:
export QEMU_LD_PREFIX=${SYSROOT}
export QEMU_CPU="max,sve${SVE_BITS}=on"
Where SVE_BITS was either 128 or 256.