diff options
author | Chung-Lin Tang <cltang@codesourcery.com> | 2021-05-31 21:45:50 +0800 |
---|---|---|
committer | Chung-Lin Tang <cltang@codesourcery.com> | 2021-05-31 22:11:26 +0800 |
commit | 6b88ea4bb7a2539cbe7a9a53e872090562fe8ccd (patch) | |
tree | 9ca6b7a5e53dc97ed653fe8f09526e6bef6b186a /libgomp/secure_getenv.h | |
parent | 091860deb606367e400ddb9a82b007bc45d75016 (diff) | |
download | gcc-devel/omp/gcc-10.tar.gz |
Structure element mapping for OpenMP 5.0 v3devel/omp/gcc-10
This is a merge of patch:
https://gcc.gnu.org/pipermail/gcc-patches/2021-May/571515.html
v2 patch already merged at 18dd4f283e15894a26c9a105c4f87d9a585f93c5,
this commit only consists of the v2-to-v3 diff part in above URL.
This v3 adds a small bug fix, where the initialization of the refcount didn't
handle all cases, fixed by using gomp_refcount_increment here (more consistent).
libgomp/ChangeLog:
* target.c (gomp_map_vars_internal): For new key entries, set
k->refcount to 0, remove initialization of k->structelem_refcount,
use gomp_increment_refcount to consistently handle all increment cases.
(manual cherry pick of e7073707bab79ceceaa0e2d25a632d03ac98d0fd)
Diffstat (limited to 'libgomp/secure_getenv.h')
0 files changed, 0 insertions, 0 deletions