OpenACC: The runtime library will be implemented in libgomp, too.
commite4258c92d8a0b35b7b236d4d67e571db5a143120
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Nov 2013 16:48:54 +0000 (7 16:48 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Nov 2013 16:48:54 +0000 (7 16:48 +0000)
tree06192b041ff2c4f1bef7a3f9da32e2da4ad30258
parentecb072ea3883323e7f2c3bbc9beb2de608ce4c74
OpenACC: The runtime library will be implemented in libgomp, too.

gcc/
* gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
to libgomp and its dependencies.
* config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
* config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
* config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
* config/ia64/hpux.h (LIB_SPEC): Likewise.
* config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
* config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
* doc/invoke.texi (-fopenacc): Update.
libgomp/
* libgomp.map (OACC_2.0): New symbol version.
* Makefile.am (nodist_libsubinclude_HEADERS): Add openacc.h.
(nodist_finclude_HEADERS): Add openacc_lib.h, openacc.f90,
openacc.mod, and openacc_kinds.mod.
(openacc_kinds.mod): New target.
(%.mod): New target, generalized from omp_lib.mod.
* Makefile.in: Regenerate.
* openacc.f90: New file.
* openacc.h: Likewise.
* openacc_lib.h: Likewise.
* testsuite/libgomp.oacc-c++/c++.exp: Likewise.
* testsuite/libgomp.oacc-c/c.exp: Likewise.
* testsuite/libgomp.oacc-c/lib-1.c: Likewise.
* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
* testsuite/libgomp.oacc-fortran/lib-1.f90: Likewise.
* testsuite/libgomp.oacc-fortran/lib-2.f: Likewise.
* testsuite/libgomp.oacc-fortran/lib-3.f: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@204527 138bc75d-0d04-0410-961f-82ee72b054a4
23 files changed:
gcc/ChangeLog.gomp
gcc/config/arc/arc.h
gcc/config/darwin.h
gcc/config/i386/mingw32.h
gcc/config/ia64/hpux.h
gcc/config/pa/pa-hpux11.h
gcc/config/pa/pa64-hpux.h
gcc/doc/invoke.texi
gcc/gcc.c
libgomp/ChangeLog.gomp
libgomp/Makefile.am
libgomp/Makefile.in
libgomp/libgomp.map
libgomp/openacc.f90 [new file with mode: 0644]
libgomp/openacc.h [new file with mode: 0644]
libgomp/openacc_lib.h [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c++/c++.exp [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c/c.exp [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c/lib-1.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/fortran.exp [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/lib-1.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/lib-2.f [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/lib-3.f [new file with mode: 0644]