https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122782
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
unsigned HOST_WIDE_INT src_mask = GET_MODE_BITSIZE
(GET_MODE (src)).to_constant ();
src_mask -= INTVAL (XEXP (src, 1));
src_mask = (HOST_WIDE_INT_1U << src_mask) - 1;
I am 99% sure this should reject before hand TImode.
