aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorDavid Binderman <dcb314@hotmail.com>2009-11-24 12:59:00 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2009-11-24 12:59:00 +0000
commit2d8882865f812124cce403d0a28d372dd6d712b2 (patch)
treec4c734414946f093503d760e00bd8bb69ef8e901 /gcc/cfgrtl.c
parent44018bc325fd70bba94cbfa4f8fa4b51c56ea0b6 (diff)
downloadgcc-2d8882865f812124cce403d0a28d372dd6d712b2.zip
gcc-2d8882865f812124cce403d0a28d372dd6d712b2.tar.gz
gcc-2d8882865f812124cce403d0a28d372dd6d712b2.tar.bz2
cfgrtl.c (commit_one_edge_insertion): Remove set but not used local variable bb_note.
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. From-SVN: r154496
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index 73aebf0..71c1540 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -1506,16 +1506,12 @@ commit_one_edge_insertion (edge e)
&& BB_PARTITION (e->src) == BB_COLD_PARTITION
&& !(e->flags & EDGE_CROSSING))
{
- rtx bb_note, cur_insn;
+ rtx cur_insn;
- bb_note = NULL_RTX;
for (cur_insn = BB_HEAD (bb); cur_insn != NEXT_INSN (BB_END (bb));
cur_insn = NEXT_INSN (cur_insn))
if (NOTE_INSN_BASIC_BLOCK_P (cur_insn))
- {
- bb_note = cur_insn;
- break;
- }
+ break;
if (JUMP_P (BB_END (bb))
&& !any_condjump_p (BB_END (bb))