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

--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Fri Jul 31 14:13:59 2015
New Revision: 226444

URL: https://gcc.gnu.org/viewcvs?rev=226444&root=gcc&view=rev
Log:
[PR libgomp/65742, PR middle-end/66332] libgomp: Remove plugin for non-shared
memory host execution

        gcc/
        * builtins.c (expand_builtin_acc_on_device) [ACCEL_COMPILER]: Emit
        open-coded sequence.
        gcc/testsuite/
        * c-c++-common/goacc/acc_on_device-2.c: Remove XFAIL for C.
        include/
        * gomp-constants.c (GOMP_DEVICE_HOST_NONSHM): Remove.
        libgomp/
        * libgomp-plugin.h (enum offload_target_type): Remove
        OFFLOAD_TARGET_TYPE_HOST_NONSHM.
        * openacc.f90 (openacc_kinds): Remove acc_device_host_nonshm.
        * openacc.h (enum acc_device_t): Likewise.
        * openacc_lib.h: Likewise.
        * oacc-parallel.c (GOACC_parallel_keyed): Don't handle it.
        * oacc-init.c (name_of_acc_device_t): Likewise.
        (acc_on_device): Just use __builtin_acc_on_device.
        * testsuite/libgomp.oacc-c-c++-common/if-1.c: Don't forbit usage
        of acc_on_device builtin.
        * plugin/plugin-host.h: Remove file.
        * plugin/plugin-host.c: Likewise, but salvage some content into...
        * oacc-host.c: ... this file.
        * plugin/Makefrag.am: Don't build libgomp-plugin-host_nonshm.la.
        * plugin/configfrag.ac (offload_targets): Don't add host_nonshm.
        * Makefile.in: Regenerate.
        * configure: Likewise.
        * testsuite/lib/libgomp.exp
        (check_effective_target_openacc_host_nonshm_selected): Remove.
        (libgomp_init): Don't handle ACC_DEVICE_TYPE=host_nonshm.
        * testsuite/libgomp.oacc-c++/c++.exp: Likewise.
        * testsuite/libgomp.oacc-c/c.exp: Likewise.
        * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
        * testsuite/libgomp.oacc-c-c++-common/acc_on_device-1.c: Likewise.
        * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Likewise.
        * testsuite/libgomp.oacc-c-c++-common/private-vars-local-gang-1.c:
        Likewise.
        * testsuite/libgomp.oacc-c-c++-common/private-vars-par-gang-2.c:
        Likewise.
        * testsuite/libgomp.oacc-c-c++-common/worker-single-6.c: Likewise.
        * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise.
        * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise.
        * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise.
        * testsuite/libgomp.oacc-fortran/data-2.f90: Likewise.
        * testsuite/libgomp.oacc-fortran/private-vars-par-gang-2.f90:
        Likewise.

Removed:
    branches/gomp-4_0-branch/libgomp/plugin/plugin-host.c
    branches/gomp-4_0-branch/libgomp/plugin/plugin-host.h
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/builtins.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/acc_on_device-2.c
    branches/gomp-4_0-branch/include/ChangeLog.gomp
    branches/gomp-4_0-branch/include/gomp-constants.h
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/Makefile.in
    branches/gomp-4_0-branch/libgomp/configure
    branches/gomp-4_0-branch/libgomp/libgomp-plugin.h
    branches/gomp-4_0-branch/libgomp/oacc-host.c
    branches/gomp-4_0-branch/libgomp/oacc-init.c
    branches/gomp-4_0-branch/libgomp/oacc-parallel.c
    branches/gomp-4_0-branch/libgomp/openacc.f90
    branches/gomp-4_0-branch/libgomp/openacc.h
    branches/gomp-4_0-branch/libgomp/openacc_lib.h
    branches/gomp-4_0-branch/libgomp/plugin/Makefrag.am
    branches/gomp-4_0-branch/libgomp/plugin/configfrag.ac
    branches/gomp-4_0-branch/libgomp/testsuite/lib/libgomp.exp
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c++/c++.exp
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_on_device-1.c
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/if-1.c
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/private-vars-local-gang-1.c
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/private-vars-par-gang-2.c
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/worker-single-6.c
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c/c.exp
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/data-2.f90
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/fortran.exp
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/private-vars-par-gang-2.f90

Reply via email to