https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 58442 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58442&action=edit Semi-cleaned up testcase with some extra hooks So note if you change any of the `#if 0` to `#if 1` or `#if 1` to `#if 0` the crash in SLP no longer happens. Note also with the last one change, the only difference deals with the PERM that is being selected in SLP: Due to the order of `BIT_FIELD_REF <vec_var.1_14, 64, 64>;` vs `BIT_FIELD_REF <vec_var.1_14, 64, 0>;`. somehow.