[Bug libgomp/92848] [OpenACC] Memory leak for simple 'acc_create', 'acc_delete' sequence

tschwinge at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 10 09:23:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92848

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to jules from comment #2)
> Again, please don't change this code under the feet of the refcount overhaul
> patch!

But why?  This here is one independent chance.  The big "OpenACC reference
count overhaul" will then either lose some of its changes, or replace this here
by something else ('GOMP_MAP_VARS_OPENACC_ENTER_DATA'), but it's an incremental
step (forward).


> Using the (currently OpenMP-specific) GOMP_MAP_VARS_ENTER_DATA is
> going to end up mighty confusing from OpenACC-specific code.

Why do you think so?  It has exactly! the semantics that we need here, for this
PR.


More information about the Gcc-bugs mailing list