gcc/include
Tobias Burnus d5c23c6cea OpenACC – support "if" + "if_present" clauses with "host_data"
2020-01-10  Gergö Barany  <gergo@codesourcery.com>
	    Thomas Schwinge <thomas@codesourcery.com>
	    Julian Brown  <julian@codesourcery.com>
	    Tobias Burnus  <tobias@codesourcery.com>

        gcc/c/
        * c-parser.c (OACC_HOST_DATA_CLAUSE_MASK): Add PRAGMA_OACC_CLAUSE_IF
        and PRAGMA_OACC_CLAUSE_IF_PRESENT.

        gcc/cp/
        * parser.c (OACC_HOST_DATA_CLAUSE_MASK): Add PRAGMA_OACC_CLAUSE_IF
        and PRAGMA_OACC_CLAUSE_IF_PRESENT.

        gcc/fortran/
        * openmp.c (OACC_HOST_DATA_CLAUSES): Add PRAGMA_OACC_CLAUSE_IF
        and PRAGMA_OACC_CLAUSE_IF_PRESENT.

	gcc/
	* omp-low.c (lower_omp_target): Use GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT
	if PRAGMA_OACC_CLAUSE_IF_PRESENT exist.

	gcc/testsuite/
	* c-c++-common/goacc/host_data-1.c: Added tests of if and if_present
	clauses on host_data.
	* gfortran.dg/goacc/host_data-tree.f95: Likewise.

	include/
	* gomp-constants.h (enum gomp_map_kind): New enumeration constant
	GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT.
        
	libgomp/
	* oacc-parallel.c (GOACC_data_start): Handle
	GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT.
	* target.c (gomp_map_vars_async): Likewise.
	* testsuite/libgomp.oacc-c-c++-common/host_data-7.c: New.
	* testsuite/libgomp.oacc-fortran/host_data-5.F90: New.

From-SVN: r280115
2020-01-10 16:08:41 +01:00
..
gdb Update copyright years. 2020-01-01 12:51:42 +01:00
ansidecl.h Update copyright years. 2020-01-01 12:51:42 +01:00
ChangeLog Update copyright years. 2020-01-01 12:51:42 +01:00
ChangeLog-9103
ChangeLog.jit
COPYING
COPYING3
demangle.h Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2.def Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2.h Update copyright years. 2020-01-01 12:51:42 +01:00
dyn-string.h Update copyright years. 2020-01-01 12:51:42 +01:00
environ.h Update copyright years. 2020-01-01 12:51:42 +01:00
fibheap.h Update copyright years. 2020-01-01 12:51:42 +01:00
filenames.h Update copyright years. 2020-01-01 12:51:42 +01:00
floatformat.h Update copyright years. 2020-01-01 12:51:42 +01:00
fnmatch.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-c-fe.def Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-c-interface.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-cp-fe.def Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-cp-interface.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-interface.h Update copyright years. 2020-01-01 12:51:42 +01:00
getopt.h Update copyright years. 2020-01-01 12:51:42 +01:00
gomp-constants.h OpenACC – support "if" + "if_present" clauses with "host_data" 2020-01-10 16:08:41 +01:00
hashtab.h Update copyright years. 2020-01-01 12:51:42 +01:00
hsa.h Update copyright years. 2020-01-01 12:51:42 +01:00
leb128.h Update copyright years. 2020-01-01 12:51:42 +01:00
libiberty.h Update copyright years. 2020-01-01 12:51:42 +01:00
longlong.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-symtab.h Update copyright years. 2020-01-01 12:51:42 +01:00
md5.h Update copyright years. 2020-01-01 12:51:42 +01:00
objalloc.h Update copyright years. 2020-01-01 12:51:42 +01:00
obstack.h Update copyright years. 2020-01-01 12:51:42 +01:00
partition.h Update copyright years. 2020-01-01 12:51:42 +01:00
plugin-api.h Update copyright years. 2020-01-01 12:51:42 +01:00
safe-ctype.h Update copyright years. 2020-01-01 12:51:42 +01:00
sha1.h Update copyright years. 2020-01-01 12:51:42 +01:00
simple-object.h Update copyright years. 2020-01-01 12:51:42 +01:00
sort.h Update copyright years. 2020-01-01 12:51:42 +01:00
splay-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
symcat.h Update copyright years. 2020-01-01 12:51:42 +01:00
timeval-utils.h Update copyright years. 2020-01-01 12:51:42 +01:00
unique-ptr.h Update copyright years. 2020-01-01 12:51:42 +01:00
vtv-change-permission.h Update copyright years. 2020-01-01 12:51:42 +01:00
xregex2.h Update copyright years. 2020-01-01 12:51:42 +01:00
xregex.h
xtensa-config.h Update copyright years. 2020-01-01 12:51:42 +01:00