OSDN Git Service

* expmed.c (extract_bit_field_1): Remove write-only variable "icode".
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2011 16:51:24 +0000 (16:51 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2011 16:51:24 +0000 (16:51 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173331 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expmed.c

index 76908e5..5a9048e 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * expmed.c (extract_bit_field_1): Remove write-only variable "icode".
+
 2011-05-03  Stuart Henderson  <shenders@gcc.gnu.org>
 
        From Bernd Schmidt:
        * tree-ssa-threadupdate.c (THREAD_TARGET): define.
        (remove_ctrl_stmt_and_useless_edges): Clear AUX field of outgoing edges.
        (craete_edge_and_update_destination_phis): Use THREAD_TARGET rather
-       than accessing AUX field directly.  Free the AUX field before                   clearing it.
+       than accessing AUX field directly.  Free the AUX field before
+       clearing it.
        (thread_block, thread_through_loop_header): Likewise.
        (thread_single_edge, mark_threaded_blocks): Likewise.
        (redirect_edges): Delay clearing the AUX field.  Free the AUX field.
        (register_jump_thread): Do not attempt to thread to a NULL edge.
-       
+
 2011-05-03  Bernd Schmidt  <bernds@codesourcery.com>
 
        * function.c (init_function_start): Call decide_function_section.
index 7e9204d..7482747 100644 (file)
@@ -1127,7 +1127,6 @@ extract_bit_field_1 (rtx str_rtx, unsigned HOST_WIDE_INT bitsize,
   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, unsigned HOST_WIDE_INT bitsize,
 
   /* 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