This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp-nvptx 1/7] libgomp: remove paste error in gomp_team_barrier_wait_end
- From: Alexander Monakov <amonakov at ispras dot ru>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 18 Mar 2016 20:48:41 +0300
- Subject: [gomp-nvptx 1/7] libgomp: remove paste error in gomp_team_barrier_wait_end
- Authentication-results: sourceware.org; auth=none
- References: <1458323327-9908-1-git-send-email-amonakov at ispras dot ru>
* config/nvptx/bar.c: Remove wrong invocation of
gomp_barrier_wait_end from gomp_team_barrier_wait_end.
---
libgomp/ChangeLog.gomp-nvptx | 5 +++++
libgomp/config/nvptx/bar.c | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/libgomp/config/nvptx/bar.c b/libgomp/config/nvptx/bar.c
index e6e8daa..a0d8a44 100644
--- a/libgomp/config/nvptx/bar.c
+++ b/libgomp/config/nvptx/bar.c
@@ -80,8 +80,6 @@ gomp_team_barrier_wait_end (gomp_barrier_t *bar, gomp_barrier_state_t state)
{
unsigned int generation, gen;
- gomp_barrier_wait_end (bar, state);
-
if (__builtin_expect (state & BAR_WAS_LAST, 0))
{
/* Next time we'll be awaiting TOTAL threads again. */