aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-07 15:15:26 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-07 15:15:26 +0000
commit50f63b1a679e6e2d11041f5acb58b684096e7b94 (patch)
treea8e3fc0bb8beca6c1a758a9907611c825f1dc402
parent1f43e92e35da4d06d305e0cdfd3a3de3ec6cc7ad (diff)
downloadgcc-50f63b1a679e6e2d11041f5acb58b684096e7b94.zip
gcc-50f63b1a679e6e2d11041f5acb58b684096e7b94.tar.gz
gcc-50f63b1a679e6e2d11041f5acb58b684096e7b94.tar.bz2
cfghooks.c (verify_flow_info): Remove local variable num_bb_notes.
* cfghooks.c (verify_flow_info): Remove local variable num_bb_notes. From-SVN: r96024
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/cfghooks.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a7fc8e9..0594b9d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -32,6 +32,9 @@
* tree-ssa-dce.c (control_dependence_map,
visited_control_parents): Make them static.
+ * cfghooks.c (verify_flow_info): Remove local variable
+ num_bb_notes.
+
2005-03-07 David Billinghurst <David.Billinghurst@riotinto.com>
* config/i386/cygwin1.c(mingw_scan): Use xstrdup in calls to putenv.
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index 0f0c230..c929cb0e1 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -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. */