https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428
--- Comment #12 from Shawn Xu <shawn at shawnxu dot org> --- Bisecting with -mprefer-vector-width=256 leads to PR112824, which seems to be a modification on the move_max option. Compiling with -mmove-max=256 reproduces the issue in 12.1: https://godbolt.org/z/boP6148er