]> git.ipfire.org Git - thirdparty/gcc.git/commit
Restore 'GOMP_offload_unregister_ver' functionality
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 5 Jul 2022 16:23:15 +0000 (18:23 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 6 Jul 2022 20:53:04 +0000 (22:53 +0200)
commit3f05e03d6cfdf723ca0556318b6a9aa37be438e7
tree7ef272d37b6d5817125bb1ec3359699c8e665e94
parent2f0d819a81edee50a98a8a05eed585f0a72bb932
Restore 'GOMP_offload_unregister_ver' functionality

The recent commit 683f11843974f0bdf42f79cdcbb0c2b43c7b81b0
"OpenMP: Move omp requires checks to libgomp" changed the
'GOMP_offload_register_ver' interface but didn't change
'GOMP_offload_unregister_ver' accordingly, so we're no longer
actually unregistering.

gcc/
* config/gcn/mkoffload.cc (process_obj): Clarify 'target_data' ->
'[...]_data'.
* config/nvptx/mkoffload.cc (process): Likewise.
libgomp/
* target.c (GOMP_offload_register_ver): Clarify 'target_data' ->
'data'.
(GOMP_offload_unregister_ver): Likewise.  Fix up 'target_data'.
gcc/config/gcn/mkoffload.cc
gcc/config/nvptx/mkoffload.cc
libgomp/target.c