https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406
--- Comment #10 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Just finished second bisect and reduce. Came out to this commit as well. --- module brute_force integer, parameter :: r=9 integer sudoku1(1, r) contains subroutine brute integer l(r), u(r) where(sudoku1(1, :) /= 1) l = 1 u = 1 end where do i1 = 1, u(1) do end do end do end end --- gfortran -w -c exchange2.f90 -fprofile-generate -march=armv8-a+sve -Ofast -o exchange2.f90.o gives: during GIMPLE pass: vect exchange2.fppized2.f90:5:18: 5 | subroutine brute | ^ internal compiler error: in vect_get_vec_defs_for_operand, at tree-vect-stmts.cc:1257 which is probably related to your last message.