https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104026
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Breakpoint 4, vect_set_loop_controls_directly (...) at src/gcc-mainline/gcc/tree-vect-loop-manip.c:672 673 gassign *minus = gimple_build_assign (adjusted_len, PLUS_EXPR, 674 rgc->controls[0], 675 build_int_cst 676 (TREE_TYPE (rgc->controls[0]), 677 partial_load_bias)); The problem is the 'TREE_TYPE (rgc->controls[0])' which is as follows - and build_int_cst does not seem to like to assign -72 to a vector type. (gdb) p debug_tree(rgc->controls->m_vec->m_vecdata[0]) <ssa_name 0x7ffff78cb5a0 type <vector_type 0x7ffff7c05e70 type <boolean_type 0x7ffff7c05dc8 public QI size <integer_cst 0x7ffff7a5ebd0 constant 8> unit-size <integer_cst 0x7ffff7a5ebe8 constant 1>