diff options
-rw-r--r-- | libgomp/ChangeLog | 4 | ||||
-rw-r--r-- | libgomp/task.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index be30656..a626cb8 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2016-01-15 Jakub Jelinek <jakub@redhat.com> + + * task.c (GOMP_PLUGIN_target_task_completion): Add missing return. + 2016-01-15 Cesar Philippidis <cesar@codesourcery.com> * testsuite/libgomp.oacc-fortran/kernels-data.f90: New test. diff --git a/libgomp/task.c b/libgomp/task.c index de9936e..b18b6e2 100644 --- a/libgomp/task.c +++ b/libgomp/task.c @@ -579,6 +579,7 @@ GOMP_PLUGIN_target_task_completion (void *data) { ttask->state = GOMP_TARGET_TASK_FINISHED; gomp_mutex_unlock (&team->task_lock); + return; } ttask->state = GOMP_TARGET_TASK_FINISHED; gomp_target_task_completion (team, task); |