Message ID | alpine.LSU.2.20.1801151237060.32271@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
Series | Fix PR83850 | expand |
Index: gcc/expmed.c =================================================================== --- gcc/expmed.c (revision 256687) +++ gcc/expmed.c (working copy) @@ -1631,7 +1631,7 @@ extract_bit_field_1 (rtx str_rtx, poly_u if (VECTOR_MODE_P (GET_MODE (op0)) && !MEM_P (op0) && VECTOR_MODE_P (tmode) - && known_eq (bitsize, GET_MODE_SIZE (tmode)) + && known_eq (bitsize, GET_MODE_BITSIZE (tmode)) && maybe_gt (GET_MODE_SIZE (GET_MODE (op0)), GET_MODE_SIZE (tmode))) { machine_mode new_mode = GET_MODE (op0);