diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-01-15 20:56:26 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-01-15 20:56:26 +0100 |
commit | cb11f3cffb95ac60c58bc0037fa4639078618f70 (patch) | |
tree | 939ece81f8342473c20aaabf01e4ed5308c84949 | |
parent | 49abe0767c9b670ea05e674e698bd10f9bcb606f (diff) | |
download | gcc-cb11f3cffb95ac60c58bc0037fa4639078618f70.zip gcc-cb11f3cffb95ac60c58bc0037fa4639078618f70.tar.gz gcc-cb11f3cffb95ac60c58bc0037fa4639078618f70.tar.bz2 |
* task.c (GOMP_PLUGIN_target_task_completion): Add missing return.
From-SVN: r232447
-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); |