https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Sam James from comment #1) > I can reproduce with: gcc -c ./ext/filter/filter.i -march=znver2 > -fno-vect-cost-model -O3. `-O3 -fno-vect-cost-model -mavx2` is enough with my reduced testcase.