omp-low.c (expand_parallel_call): Remove shadow variable.
authorJames Norris <jnorris@codesourcery.com>
Wed, 14 May 2014 13:38:57 +0000 (13:38 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 14 May 2014 13:38:57 +0000 (15:38 +0200)
* omp-low.c (expand_parallel_call): Remove shadow variable.
(expand_omp_taskreg): Likewise.

From-SVN: r210423

gcc/ChangeLog
gcc/omp-low.c

index 8bf080a..4275544 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-14  James Norris  <jnorris@codesourcery.com>
+
+       * omp-low.c (expand_parallel_call): Remove shadow variable.
+       (expand_omp_taskreg): Likewise.
+
 2014-05-14  Ilya Tocar  <ilya.tocar@intel.com>
 
        * common/config/i386/i386-common.c
index ddd2bd5..a2a64ad 100644 (file)
@@ -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;