[Bug tree-optimization/92116] Potential null pointer dereference in 'gomp_acc_remove_pointer'

tschwinge at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 9 22:53:00 GMT 2019


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

--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Mon Dec  9 22:52:56 2019
New Revision: 279147

URL: https://gcc.gnu.org/viewcvs?rev=279147&root=gcc&view=rev
Log:
[PR92116, PR92877] [OpenACC] Replace 'openacc.data_environ' by standard libgomp
mechanics

        libgomp/
        PR libgomp/92116
        PR libgomp/92877
        * oacc-mem.c (lookup_dev): Reimplement.  Adjust all users.
        * libgomp.h (struct acc_dispatch_t): Remove 'data_environ' member.
        Adjust all users.
        * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4-2.c:
        Remove XFAIL.
        * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4.c:
        Likewise.
        * testsuite/libgomp.oacc-c-c++-common/pr92877-1.c: New file.

Added:
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/pr92877-1.c
Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/libgomp.h
    trunk/libgomp/oacc-host.c
    trunk/libgomp/oacc-mem.c
    trunk/libgomp/target.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4-2.c
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4.c


More information about the Gcc-bugs mailing list