[Bug tree-optimization/95356] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3635 since r11-564-g79f0451c67e8ed56

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 27 09:42:24 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95356

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So we get v4si for the vector type but the operand is long long int:

3683        gcc_assert (vector_type
3684                    && types_compatible_p (vector_type,
3685                                           get_vectype_for_scalar_type
3686                                             (vinfo, TREE_TYPE (op),
op_node)));

this is because vectorizable_shift is somewhat of a mess.  Fixinig.


More information about the Gcc-bugs mailing list