diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2020-06-04 16:01:07 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2020-06-04 19:29:08 +0200 |
commit | a02f1adbfe619ab19cf142438e0a02950d3594da (patch) | |
tree | 32b6afd7de532f2defe76e9cd7f476750b8cbf85 /gcc | |
parent | db7179ec74dda8c92db18399e5041a96ece8d56d (diff) | |
download | gcc-a02f1adbfe619ab19cf142438e0a02950d3594da.zip gcc-a02f1adbfe619ab19cf142438e0a02950d3594da.tar.gz gcc-a02f1adbfe619ab19cf142438e0a02950d3594da.tar.bz2 |
[OpenACC 'exit data'] Evaluate 'finalize' individually for 'GOMP_MAP_STRUCT' entries
Currently, we don't at all evaluate 'finalize' for 'GOMP_MAP_STRUCT' entries.
Fix this by copying/adapting the corresponding non-'GOMP_MAP_STRUCT' code.
libgomp/
* oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>:
Evaluate 'finalize' individually for each entry.
* testsuite/libgomp.oacc-c-c++-common/struct-1.c: New file.
* testsuite/libgomp.oacc-c-c++-common/struct-refcount-1.c: Remove
file.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions