aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-unswitch.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-07 15:17:21 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-07 15:17:21 +0000
commit0d48fcd1c9bfc79d69e77139913a9a5fde076fa8 (patch)
tree3e673ef6747ae507fb8f6a52df3c5e0f4cfc408e /gcc/loop-unswitch.c
parent94eb5ddb83c8a267e8127eb8529b43c681543391 (diff)
downloadgcc-0d48fcd1c9bfc79d69e77139913a9a5fde076fa8.zip
gcc-0d48fcd1c9bfc79d69e77139913a9a5fde076fa8.tar.gz
gcc-0d48fcd1c9bfc79d69e77139913a9a5fde076fa8.tar.bz2
* loop-unswitch.c (unswitch_loop): Remove local variable src.
From-SVN: r96026
Diffstat (limited to 'gcc/loop-unswitch.c')
-rw-r--r--gcc/loop-unswitch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/loop-unswitch.c b/gcc/loop-unswitch.c
index f307dc1..9b62620 100644
--- a/gcc/loop-unswitch.c
+++ b/gcc/loop-unswitch.c
@@ -406,7 +406,7 @@ unswitch_loop (struct loops *loops, struct loop *loop, basic_block unswitch_on,
rtx cond, rtx cinsn)
{
edge entry, latch_edge, true_edge, false_edge, e;
- basic_block switch_bb, unswitch_on_alt, src;
+ basic_block switch_bb, unswitch_on_alt;
struct loop *nloop;
sbitmap zero_bitmap;
int irred_flag, prob;
@@ -429,7 +429,6 @@ unswitch_loop (struct loops *loops, struct loop *loop, basic_block unswitch_on,
entry = loop_preheader_edge (loop);
/* Make a copy. */
- src = entry->src;
irred_flag = entry->flags & EDGE_IRREDUCIBLE_LOOP;
entry->flags &= ~EDGE_IRREDUCIBLE_LOOP;
zero_bitmap = sbitmap_alloc (2);