diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-24 12:59:00 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-24 12:59:00 +0000 |
commit | 01703575a5da42c37f098e8de64d822277b97118 (patch) | |
tree | c4c734414946f093503d760e00bd8bb69ef8e901 /gcc/dominance.c | |
parent | 01a4f9f832ebb29f210bc898d446594d6485f23c (diff) | |
download | gcc-01703575a5da42c37f098e8de64d822277b97118.tar.gz |
2009-11-24 David Binderman <dcb314@hotmail.com>
* cfgrtl.c (commit_one_edge_insertion): Remove set but not used
local variable bb_note.
* dominance.c (get_dominated_by): Likewise local var n.
(output_file_names): Likewise local var idx.
(add_location_or_const_value_attribute): Likewise local var status.
* dwarf2out.c (gen_variable_die): Likewise local var field.
* emit-rtl.c (no_line_numbers): Remove.
(init_emit_once): Remove line_numbers parameter.
* rtl.h (init_emit_once): Adjust prototype.
* toplev.c (backend_init): Adjust init_emit_once call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154496 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dominance.c')
-rw-r--r-- | gcc/dominance.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/dominance.c b/gcc/dominance.c index 2cc14145848..78ad48c2543 100644 --- a/gcc/dominance.c +++ b/gcc/dominance.c @@ -739,7 +739,6 @@ set_immediate_dominator (enum cdi_direction dir, basic_block bb, VEC (basic_block, heap) * get_dominated_by (enum cdi_direction dir, basic_block bb) { - int n; unsigned int dir_index = dom_convert_dir_to_idx (dir); struct et_node *node = bb->dom[dir_index], *son = node->son, *ason; VEC (basic_block, heap) *bbs = NULL; @@ -750,7 +749,7 @@ get_dominated_by (enum cdi_direction dir, basic_block bb) return NULL; VEC_safe_push (basic_block, heap, bbs, (basic_block) son->data); - for (ason = son->right, n = 1; ason != son; ason = ason->right) + for (ason = son->right; ason != son; ason = ason->right) VEC_safe_push (basic_block, heap, bbs, (basic_block) ason->data); return bbs; |