diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2019-12-21 23:58:43 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2019-12-21 23:58:43 +0100 |
commit | b092fb3b67792d47400ce99b25c8abbf76d8ab5f (patch) | |
tree | 63b3657b30c9f010c7b5db34105c7fc927a16a31 /libgomp/target.c | |
parent | c0df8c9781d964a930be08ad6ad1743b92e523fa (diff) | |
download | gcc-b092fb3b67792d47400ce99b25c8abbf76d8ab5f.zip gcc-b092fb3b67792d47400ce99b25c8abbf76d8ab5f.tar.gz gcc-b092fb3b67792d47400ce99b25c8abbf76d8ab5f.tar.bz2 |
[OMP] Restore 'omp declare target link' handling
PASS: libgomp.c/target-link-1.c (test for excess errors)
[-PASS:-]{+FAIL:+} libgomp.c/target-link-1.c execution test
We need to revert one line of code change from r279625.
libgomp/
* target.c (gomp_map_vars_internal): Restore 'omp declare target
link' handling.
From-SVN: r279701
Diffstat (limited to 'libgomp/target.c')
-rw-r--r-- | libgomp/target.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libgomp/target.c b/libgomp/target.c index 50a9c2b..bf30716 100644 --- a/libgomp/target.c +++ b/libgomp/target.c @@ -1129,7 +1129,6 @@ gomp_map_vars_internal (struct gomp_device_descr *devicep, tgt->list[i].length = k->host_end - k->host_start; k->refcount = 1; k->virtual_refcount = 0; - k->aux = NULL; tgt->refcount++; array->left = NULL; array->right = NULL; |