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

login
register
mail settings
Submitter Uros Bizjak
Date May 3, 2011, 4:53 p.m.
Message ID <BANLkTinATPj1Brp4GU4ocQpg-1-AWcMLog@mail.gmail.com>
Download mbox | patch
Permalink /patch/93849/
State New
Headers show

Comments

Uros Bizjak - May 3, 2011, 4:53 p.m.
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.

Patch

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