* task.c (GOMP_PLUGIN_target_task_completion): Add missing return.

From-SVN: r232447
This commit is contained in:
Jakub Jelinek 2016-01-15 20:56:26 +01:00 committed by Jakub Jelinek
parent 49abe0767c
commit cb11f3cffb
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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);