From 649beb33b60f70d5b24fba06d19dc71ea042ff1e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 28 Mar 2011 08:37:47 -0600 Subject: [PATCH] var-tracking.c (canonicalize_values_mark): Delete unused lhs assignment. * var-tracking.c (canonicalize_values_mark): Delete unused lhs assignment. (canonicalize_values_star, set_variable_part): Likewise. (clobber_variable_part, delete_variable_part): Likewise. From-SVN: r171606 --- gcc/ChangeLog | 7 +++++++ gcc/var-tracking.c | 16 ++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 946923daf5f..ac86016629e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-03-28 Jeff Law + + * var-tracking.c (canonicalize_values_mark): Delete unused + lhs assignment. + (canonicalize_values_star, set_variable_part): Likewise. + (clobber_variable_part, delete_variable_part): Likewise. + 2011-03-28 Steven Bosscher * gcse.c (free_gcse_mem): Free reg_set_bitmap. diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index d92ca59055e..ef029379049 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -3117,8 +3117,8 @@ canonicalize_values_mark (void **slot, void *data) decl_or_value odv = dv_from_value (node->loc); void **oslot = shared_hash_find_slot_noinsert (set->vars, odv); - oslot = set_slot_part (set, val, oslot, odv, 0, - node->init, NULL_RTX); + set_slot_part (set, val, oslot, odv, 0, + node->init, NULL_RTX); VALUE_RECURSED_INTO (node->loc) = true; } @@ -3329,8 +3329,8 @@ canonicalize_values_star (void **slot, void *data) } if (val) - cslot = set_slot_part (set, val, cslot, cdv, 0, - VAR_INIT_STATUS_INITIALIZED, NULL_RTX); + set_slot_part (set, val, cslot, cdv, 0, + VAR_INIT_STATUS_INITIALIZED, NULL_RTX); slot = clobber_slot_part (set, cval, slot, 0, NULL); @@ -3401,7 +3401,7 @@ canonicalize_vars_star (void **slot, void *data) slot = set_slot_part (set, cval, slot, dv, 0, node->init, node->set_src); - slot = clobber_slot_part (set, cval, slot, 0, node->set_src); + clobber_slot_part (set, cval, slot, 0, node->set_src); return 1; } @@ -7038,7 +7038,7 @@ set_variable_part (dataflow_set *set, rtx loc, if (!slot) slot = shared_hash_find_slot_unshare (&set->vars, dv, iopt); } - slot = set_slot_part (set, loc, slot, dv, offset, initialized, set_src); + set_slot_part (set, loc, slot, dv, offset, initialized, set_src); } /* Remove all recorded register locations for the given variable part @@ -7119,7 +7119,7 @@ clobber_variable_part (dataflow_set *set, rtx loc, decl_or_value dv, if (!slot) return; - slot = clobber_slot_part (set, loc, slot, offset, set_src); + clobber_slot_part (set, loc, slot, offset, set_src); } /* Delete the part of variable's location from dataflow set SET. The @@ -7218,7 +7218,7 @@ delete_variable_part (dataflow_set *set, rtx loc, decl_or_value dv, if (!slot) return; - slot = delete_slot_part (set, loc, slot, offset); + delete_slot_part (set, loc, slot, offset); } /* Structure for passing some other parameters to function