This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] cfghooks.c: Remove num_bb_notes.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 07 Mar 2005 10:16:53 -0500 (EST)
- Subject: [patch] cfghooks.c: Remove num_bb_notes.
Hi,
Attached is a patch to remove local variable num_bb_notes that is set
but never used.
Bootstrapped on i686-pc-linux-gnu. Committed as obvious.
Kazu Hirata
2005-03-07 Kazu Hirata <kazu@cs.umass.edu>
* cfghooks.c (verify_flow_info): Remove local variable
num_bb_notes.
Index: cfghooks.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfghooks.c,v
retrieving revision 1.21
diff -u -d -p -r1.21 cfghooks.c
--- cfghooks.c 22 Nov 2004 22:04:21 -0000 1.21
+++ cfghooks.c 6 Mar 2005 14:24:07 -0000
@@ -72,7 +72,7 @@ void
verify_flow_info (void)
{
size_t *edge_checksum;
- int num_bb_notes, err = 0;
+ int err = 0;
basic_block bb, last_bb_seen;
basic_block *last_visited;
@@ -215,7 +215,6 @@ verify_flow_info (void)
err = 1;
}
- num_bb_notes = 0;
last_bb_seen = ENTRY_BLOCK_PTR;
/* Clean up. */