[Bug libgomp/92843] [OpenACC] Wrong/missing dynamic reference counting for structured 'REFCOUNT_INFINITY'
tschwinge at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 11 16:50:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92843
--- Comment #11 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Wed Dec 11 16:49:27 2019
New Revision: 279234
URL: https://gcc.gnu.org/viewcvs?rev=279234&root=gcc&view=rev
Log:
[PR92843] [OpenACC] Fix dynamic reference counting for structured
'REFCOUNT_INFINITY'
libgomp/
PR libgomp/92843
* oacc-mem.c (present_create_copy, delete_copyout): Fix dynamic
reference counting for structured 'REFCOUNT_INFINITY'. Add some
assertions.
(goacc_insert_pointer, goacc_remove_pointer): Adjust accordingly.
* testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: New file.
* testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Fix OpenACC.
* testsuite/libgomp.oacc-c-c++-common/lib-82.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/nested-1.c: Likewise.
Added:
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/pr92843-1.c
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/oacc-mem.c
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/clauses-1.c
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-82.c
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/nested-1.c
More information about the Gcc-bugs
mailing list