https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110742
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Backtrace and some debug: Program received signal SIGFPE, Arithmetic exception. 0x0000000001d00dd2 in multiple_p<unsigned long, unsigned int> (a=2, b=0) at ../../gcc/poly-int.h:2123 2123 return a % b == 0; (gdb) bt #0 0x0000000001d00dd2 in multiple_p<unsigned long, unsigned int> (a=2, b=0) at ../../gcc/poly-int.h:2123 #1 0x0000000001cf0c61 in vect_prologue_cost_for_slp (node=0x3a6a098, cost_vec=0x7fffffffceb0) at ../../gcc/tree-vect-slp.cc:6088 (gdb) up #1 0x0000000001cf0c61 in vect_prologue_cost_for_slp (node=0x3a6a098, cost_vec=0x7fffffffceb0) at ../../gcc/tree-vect-slp.cc:6088 6088 && ! multiple_p (const_nunits, group_size)) (gdb) p group_size $2 = 0 (gdb) p const_nunits $3 = 2