https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117990
--- Comment #2 from Li Pan <pan2.li at intel dot com> --- (In reply to Patrick O'Neill from comment #1) > -flto can be replaced with -fwhole-program: > > -march=rv64gcv_zvl256b -fwhole-program -O3 -mrvv-vector-bits=zvl test.c -o > user-config.out Confirmed, reproduced by given whole-program or lto.