[PATCH, trivial]: Remove write only variable from expmed.c

Uros Bizjak ubizjak@gmail.com
Tue May 3 16:53:00 GMT 2011


Hello!

2011-05-03  Uros Bizjak  <ubizjak@gmail.com>

	* expmed.c (extract_bit_field_1): Remove write-only variable "icode".

Bootstrapped and regression tested on x86_64-pc-linux-gnu AVX target.
Committed to mainline SVN.

Uros.
-------------- next part --------------
Index: expmed.c
===================================================================
--- expmed.c	(revision 173309)
+++ expmed.c	(working copy)
@@ -1127,7 +1127,6 @@ extract_bit_field_1 (rtx str_rtx, unsign
   enum machine_mode int_mode;
   enum machine_mode ext_mode;
   enum machine_mode mode1;
-  enum insn_code icode;
   int byte_offset;
 
   if (tmode == VOIDmode)
@@ -1431,7 +1430,6 @@ extract_bit_field_1 (rtx str_rtx, unsign
 
   /* Now OFFSET is nonzero only for memory operands.  */
   ext_mode = mode_for_extraction (unsignedp ? EP_extzv : EP_extv, 0);
-  icode = unsignedp ? CODE_FOR_extzv : CODE_FOR_extv;
   if (ext_mode != MAX_MACHINE_MODE
       && bitsize > 0
       && GET_MODE_BITSIZE (ext_mode) >= bitsize


More information about the Gcc-patches mailing list