omp-low.c (expand_parallel_call): Use BSI_SAME_STMT instead of TSI_SAME_STMT, since...
authorMarcin Dalecki <martin@dalecki.de>
Wed, 18 Oct 2006 17:23:50 +0000 (19:23 +0200)
committerMarcin Dalecki <dalecki@gcc.gnu.org>
Wed, 18 Oct 2006 17:23:50 +0000 (19:23 +0200)
* omp-low.c (expand_parallel_call): Use BSI_SAME_STMT instead of
TSI_SAME_STMT, since that's the desired entity.

From-SVN: r117859

gcc/ChangeLog
gcc/omp-low.c

index d261a5795edba211e94d29b1e862a4ee2c3f1e4b..8b82507d1cb5646342997fe0a251a7c168af81b6 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-18  Marcin Dalecki  <martin@dalecki.de>
+
+       * omp-low.c (expand_parallel_call): Use BSI_SAME_STMT instead of
+       TSI_SAME_STMT, since that's the desired entity.
+
 2006-10-17  Wolfgang Gellerich  <gellerich@de.ibm.com>
 
        * config/s390/contraints.md: New file.
index b76e00ced115e4ffedd32f29370b22f58f604bb3..0816103f190393a57a0db989a144fa2d00fdd533 100644 (file)
@@ -2535,7 +2535,7 @@ expand_omp_parallel (struct omp_region *region)
          gcc_assert (!bsi_end_p (si)
                      && TREE_CODE (bsi_stmt (si)) == OMP_RETURN);
          t = build1 (RETURN_EXPR, void_type_node, NULL);
-         bsi_insert_after (&si, t, TSI_SAME_STMT);
+         bsi_insert_after (&si, t, BSI_SAME_STMT);
          bsi_remove (&si, true);
        }
     }