From 2174b86706d21faf6a7fb1f3c046d2e4d7079ff4 Mon Sep 17 00:00:00 2001 From: Marcin Dalecki Date: Wed, 18 Oct 2006 19:23:50 +0200 Subject: [PATCH] omp-low.c (expand_parallel_call): Use BSI_SAME_STMT instead of TSI_SAME_STMT, since that's the desired entity. * 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 | 5 +++++ gcc/omp-low.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d261a5795ed..8b82507d1cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-10-18 Marcin Dalecki + + * 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 * config/s390/contraints.md: New file. diff --git a/gcc/omp-low.c b/gcc/omp-low.c index b76e00ced11..0816103f190 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -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); } } -- 2.30.2