aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-05-16 02:02:32 +0000
committerBen Elliston <bje@gcc.gnu.org>2006-05-16 12:02:32 +1000
commit4741d956ad818704d6831b61bf45981202bc81b0 (patch)
treea244611bcfb6ba652662a414cd9456943998ff34
parent58408a4c41eeca64ec0a62f4af405939402e78ee (diff)
downloadgcc-4741d956ad818704d6831b61bf45981202bc81b0.zip
gcc-4741d956ad818704d6831b61bf45981202bc81b0.tar.gz
gcc-4741d956ad818704d6831b61bf45981202bc81b0.tar.bz2
* tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
From-SVN: r113811
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-cfg.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 20c5302..a92d553 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-16 Ben Elliston <bje@au.ibm.com>
+
+ * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
+
2006-05-15 Per Bothner <per@bothner.com>
* tree.c: (last_annotated_node): Use sources_locus typedef.
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 4c5aa4b..902abef 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -3145,13 +3145,12 @@ split_edge_bb_loc (edge edge_in)
static basic_block
tree_split_edge (edge edge_in)
{
- basic_block new_bb, after_bb, dest, src;
+ basic_block new_bb, after_bb, dest;
edge new_edge, e;
/* Abnormal edges cannot be split. */
gcc_assert (!(edge_in->flags & EDGE_ABNORMAL));
- src = edge_in->src;
dest = edge_in->dest;
after_bb = split_edge_bb_loc (edge_in);