summaryrefslogtreecommitdiff
path: root/gcc/graphite-sese-to-poly.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-12-01 17:25:39 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-12-01 17:25:39 +0000
commit844e904d4f0bf34541d1e27ae2409fa479433d4a (patch)
tree2a6f827bb871ce6967587fe21c9bef4cd8447799 /gcc/graphite-sese-to-poly.c
parent278b1a1d92697734ae91d7cbef3f8cd49f6ed343 (diff)
downloadgcc-844e904d4f0bf34541d1e27ae2409fa479433d4a.tar.gz
Fix unused warnings.
2010-11-26 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but unused warning. (rewrite_cross_bb_scalar_deps_out_of_ssa): Same. From-SVN: r167351
Diffstat (limited to 'gcc/graphite-sese-to-poly.c')
-rw-r--r--gcc/graphite-sese-to-poly.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c
index b5bc9142370..5036fba4195 100644
--- a/gcc/graphite-sese-to-poly.c
+++ b/gcc/graphite-sese-to-poly.c
@@ -2025,7 +2025,6 @@ static void
analyze_drs_in_stmts (scop_p scop, basic_block bb, VEC (gimple, heap) *stmts)
{
loop_p nest;
- poly_bb_p pbb;
gimple_bb_p gbb;
gimple stmt;
int i;
@@ -2034,7 +2033,6 @@ analyze_drs_in_stmts (scop_p scop, basic_block bb, VEC (gimple, heap) *stmts)
return;
nest = outermost_loop_in_sese (SCOP_REGION (scop), bb);
- pbb = pbb_from_bb (bb);
gbb = gbb_from_bb (bb);
FOR_EACH_VEC_ELT (gimple, stmts, i, stmt)
@@ -2571,13 +2569,12 @@ static void
rewrite_cross_bb_scalar_deps_out_of_ssa (scop_p scop)
{
basic_block bb;
- basic_block exit;
gimple_stmt_iterator psi;
sese region = SCOP_REGION (scop);
bool changed = false;
/* Create an extra empty BB after the scop. */
- exit = split_edge (SESE_EXIT (region));
+ split_edge (SESE_EXIT (region));
FOR_EACH_BB (bb)
if (bb_in_sese_p (bb, region))