diff mbox series

Fix PR83850

Message ID alpine.LSU.2.20.1801151237060.32271@zhemvz.fhfr.qr
State New
Headers show
Series Fix PR83850 | expand

Commit Message

Richard Biener Jan. 15, 2018, 11:38 a.m. UTC
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  <rguenther@suse.de>

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

Patch

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