Hi!

Removed three occurrences of a shadow variable.

Bootstrapped and tested on x86-64-unknown-linux-gnu.

2014-05-09  James Norris  <jnor...@codesourcery.com>

   * omp-low.c (expand_parallel_call): Remove shadow variable.
   (expand_omp_taskreg): Likewise.


diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 453f580..594967d 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;
 

Reply via email to