* task.c (GOMP_PLUGIN_target_task_completion): Add missing return.
From-SVN: r232447
This commit is contained in:
parent
49abe0767c
commit
cb11f3cffb
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user