From 23b02de3a34b9da303256e658c591c2c7995b9f6 Mon Sep 17 00:00:00 2001 From: James Norris Date: Wed, 14 May 2014 13:38:57 +0000 Subject: [PATCH] omp-low.c (expand_parallel_call): Remove shadow variable. * omp-low.c (expand_parallel_call): Remove shadow variable. (expand_omp_taskreg): Likewise. From-SVN: r210423 --- gcc/ChangeLog | 5 +++++ gcc/omp-low.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8bf080a..4275544 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-14 James Norris + + * omp-low.c (expand_parallel_call): Remove shadow variable. + (expand_omp_taskreg): Likewise. + 2014-05-14 Ilya Tocar * common/config/i386/i386-common.c diff --git a/gcc/omp-low.c b/gcc/omp-low.c index ddd2bd5..a2a64ad 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -4227,8 +4227,6 @@ expand_parallel_call (struct omp_region *region, basic_block bb, (cond != 0) or (cond ? val : 1u). */ if (cond) { - gimple_stmt_iterator gsi; - cond = gimple_boolify (cond); if (integer_zerop (val)) @@ -4672,7 +4670,6 @@ expand_omp_taskreg (struct omp_region *region) the region, in which case all we need to do is make the sub-graph unreachable and emit the parallel call. */ edge entry_succ_e, exit_succ_e; - gimple_stmt_iterator gsi; entry_succ_e = single_succ_edge (entry_bb); @@ -4709,7 +4706,6 @@ expand_omp_taskreg (struct omp_region *region) if (gimple_omp_taskreg_data_arg (entry_stmt)) { basic_block entry_succ_bb = single_succ (entry_bb); - gimple_stmt_iterator gsi; tree arg, narg; gimple parcopy_stmt = NULL; -- 2.7.4