diff options
author | Marcin Dalecki <martin@dalecki.de> | 2006-10-18 19:23:50 +0200 |
---|---|---|
committer | Marcin Dalecki <dalecki@gcc.gnu.org> | 2006-10-18 19:23:50 +0200 |
commit | 2174b86706d21faf6a7fb1f3c046d2e4d7079ff4 (patch) | |
tree | 7f521a3c8e8d523955149f36e0f5056c024b1e14 /gcc | |
parent | 02712c161ff3e6a2b7bd51645bd7fd084d1691c4 (diff) | |
download | gcc-2174b86706d21faf6a7fb1f3c046d2e4d7079ff4.zip gcc-2174b86706d21faf6a7fb1f3c046d2e4d7079ff4.tar.gz gcc-2174b86706d21faf6a7fb1f3c046d2e4d7079ff4.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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); } } |