From: Uros Bizjak Date: Tue, 3 May 2011 16:51:24 +0000 (+0200) Subject: expmed.c (extract_bit_field_1): Remove write-only variable "icode". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b70fce6d0726b170c203a5956d1ce69e3e8a83a7;p=gcc.git expmed.c (extract_bit_field_1): Remove write-only variable "icode". * expmed.c (extract_bit_field_1): Remove write-only variable "icode". From-SVN: r173331 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76908e52813..5a9048e6b48 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-05-03 Uros Bizjak + + * expmed.c (extract_bit_field_1): Remove write-only variable "icode". + 2011-05-03 Stuart Henderson From Bernd Schmidt: @@ -105,12 +109,13 @@ * 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 * function.c (init_function_start): Call decide_function_section. diff --git a/gcc/expmed.c b/gcc/expmed.c index 7e9204d444a..748274741f5 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -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