[OMP] Restore 'omp declare target link' handling
authorThomas Schwinge <thomas@codesourcery.com>
Sat, 21 Dec 2019 22:58:43 +0000 (23:58 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Sat, 21 Dec 2019 22:58:43 +0000 (23:58 +0100)
    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

libgomp/ChangeLog
libgomp/target.c

index 81b9d6788a1ecfc6ce289a6d11b4ebc229ce44ab..7bc7d41da422948472ef3df1523c65e5568a773d 100644 (file)
@@ -1,3 +1,8 @@
+2019-12-21  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * target.c (gomp_map_vars_internal): Restore 'omp declare target
+       link' handling.
+
 2019-12-19  Julian Brown  <julian@codesourcery.com>
 
        * testsuite/libgomp.oacc-fortran/class-ptr-param.f95: New test.
index 50a9c2b1df3fd978e68f6fbef1da5134dcf1825f..bf30716cd855945e70cf7399c8d2af457276837c 100644 (file)
@@ -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;