aboutsummaryrefslogtreecommitdiff
path: root/libgomp/task.c
diff options
context:
space:
mode:
authorIlya Verbin <ilya.verbin@intel.com>2016-01-20 15:01:24 +0000
committerIlya Verbin <iverbin@gcc.gnu.org>2016-01-20 15:01:24 +0000
commitb235cdd5f50456368772692ce5ec139e2e09b360 (patch)
treeaf0bcb8326652bbe29658180c250d801c76bac0c /libgomp/task.c
parente15f0e537f7fdc581543bfbf9a3b0818521df7e5 (diff)
downloadgcc-b235cdd5f50456368772692ce5ec139e2e09b360.zip
gcc-b235cdd5f50456368772692ce5ec139e2e09b360.tar.gz
gcc-b235cdd5f50456368772692ce5ec139e2e09b360.tar.bz2
task.c (gomp_create_target_task): Set firstprivate_copies to NULL.
libgomp/ * task.c (gomp_create_target_task): Set firstprivate_copies to NULL. From-SVN: r232620
Diffstat (limited to 'libgomp/task.c')
-rw-r--r--libgomp/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgomp/task.c b/libgomp/task.c
index 0f45c44..38d4e9b 100644
--- a/libgomp/task.c
+++ b/libgomp/task.c
@@ -683,6 +683,7 @@ gomp_create_target_task (struct gomp_device_descr *devicep,
ttask->state = state;
ttask->task = task;
ttask->team = team;
+ ttask->firstprivate_copies = NULL;
task->fn = NULL;
task->fn_data = ttask;
task->final_task = 0;