The following fixes a typo to make gcc.target/i386/pr80846-1.c PASS again.

Bootstrap and regtest running on x86_64-unknown-linux-gnu.

Richard.

2018-01-15  Richard Biener  <rguent...@suse.de>

        PR middle-end/83850
        * expmed.c (extract_bit_field_1): Fix typo.

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);

Reply via email to