diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/omp-low.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d261a57..8b82507 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/omp-low.c b/gcc/omp-low.c index b76e00c..0816103 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); } } |