aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--libgomp/ChangeLog4
-rw-r--r--libgomp/task.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 82619e6..b760448 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-20 Ilya Verbin <ilya.verbin@intel.com>
+
+ * task.c (gomp_create_target_task): Set firstprivate_copies to NULL.
+
2016-01-19 Martin Jambor <mjambor@suse.cz>
Martin Liska <mliska@suse.cz>
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;