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
This commit is contained in:
Uros Bizjak 2011-05-03 18:51:24 +02:00
parent 265b1d82bf
commit b70fce6d07
2 changed files with 7 additions and 4 deletions

View 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:
@ -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 <bernds@codesourcery.com>
* function.c (init_function_start): Call decide_function_section.

View 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