8sa1-gcc/include
Julian Brown 0d00fe404c openacc: Set bias to zero for explicit attach/detach clauses in C and C++
This is a fix for the pointer (or array) size inadvertently being used
for the bias with attach and detach mapping kinds, for both C and C++.

2020-07-09  Julian Brown  <julian@codesourcery.com>
	    Thomas Schwinge  <thomas@codesourcery.com>

gcc/c/
	PR middle-end/95270
	* c-typeck.c (c_finish_omp_clauses): Set OMP_CLAUSE_SIZE (bias) to zero
	for standalone attach/detach clauses.

gcc/cp/
	PR middle-end/95270
	* semantics.c (finish_omp_clauses): Likewise.

include/
	PR middle-end/95270
	* gomp-constants.h (gomp_map_kind): Expand comment for attach/detach
	mapping kinds.

gcc/testsuite/
	PR middle-end/95270
	* c-c++-common/goacc/mdc-1.c: Update expected dump output for zero
	bias.

libgomp/
	PR middle-end/95270
	* testsuite/libgomp.oacc-c-c++-common/pr95270-1.c: New test.
	* testsuite/libgomp.oacc-c-c++-common/pr95270-2.c: New test.
2020-07-09 15:17:52 -07: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 Daily bump. 2020-06-27 00:16:24 +00: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 Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin. 2020-04-17 09:22:51 +02: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: Set bias to zero for explicit attach/detach clauses in C and C++ 2020-07-09 15:17:52 -07:00
hashtab.h libiberty/hashtab: More const parameters 2020-02-05 13:01:06 +00: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 This patch removes the use of the "register" keyword from the bsearch() and bsearch_r() functions supplied by libiberty. The register keyword is deprecated in C++17. 2020-06-26 10:06:48 +01:00
longlong.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-symtab.h Fix comma at end of enumerator list seen with -std=c++98. 2020-03-21 08:09:02 +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 Fix typo in a macro usage. 2020-04-01 09:37:37 +02: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