https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70396
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- /* Invariant comparison. */ if (!vectype) { vectype = build_vector_type (TREE_TYPE (rhs1), nunits); if (tree_to_shwi (TYPE_SIZE_UNIT (vectype)) != current_vector_size) return false; it should _always_ use get_vectype_for_scalar_type