diff options
author | dalecki <dalecki@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-18 17:23:50 +0000 |
---|---|---|
committer | dalecki <dalecki@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-18 17:23:50 +0000 |
commit | ef9de31860399b41317570514a503615127418a0 (patch) | |
tree | 7f521a3c8e8d523955149f36e0f5056c024b1e14 | |
parent | 60ac31899b42d9f411c54541c310d9070199f317 (diff) | |
download | gcc-ef9de31860399b41317570514a503615127418a0.tar.gz |
* omp-low.c (expand_parallel_call): Use BSI_SAME_STMT instead of
TSI_SAME_STMT, since that's the desired entity.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117859 138bc75d-0d04-0410-961f-82ee72b054a4
-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 d261a5795ed..8b82507d1cb 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 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); } } |