gcc/libgomp
Cesar Philippidis e7ff0319f3 re PR middle-end/70626 (bogus results in 'acc parallel loop' reductions)
gcc/c-family/
	PR middle-end/70626
	* c-common.h (c_oacc_split_loop_clauses): Add boolean argument.
	* c-omp.c (c_oacc_split_loop_clauses): Use it to duplicate
	reduction clauses in acc parallel loops.

	gcc/c/
	PR middle-end/70626
	* c-parser.c (c_parser_oacc_loop): Don't augment mask with
	OACC_LOOP_CLAUSE_MASK.
	(c_parser_oacc_kernels_parallel): Update call to
	c_oacc_split_loop_clauses.

	gcc/cp/
	PR middle-end/70626
	* parser.c (cp_parser_oacc_loop): Don't augment mask with
	OACC_LOOP_CLAUSE_MASK.
	(cp_parser_oacc_kernels_parallel): Update call to
	c_oacc_split_loop_clauses.

	gcc/fortran/
	PR middle-end/70626
	* trans-openmp.c (gfc_trans_oacc_combined_directive): Duplicate
	the reduction clause in both parallel and loop directives.

	gcc/testsuite/
	PR middle-end/70626
	* c-c++-common/goacc/combined-reduction.c: New test.
	* gfortran.dg/goacc/reduction-2.f95: Add check for kernels reductions.

	libgomp/
	PR middle-end/70626
	* testsuite/libgomp.oacc-c++/template-reduction.C: Adjust test.
	* testsuite/libgomp.oacc-c-c++-common/combined-reduction.c: New test.
	* testsuite/libgomp.oacc-fortran/combined-reduction.f90: New test.

From-SVN: r235651
2016-04-29 10:42:04 -07:00
..
config
plugin libgomp nvptx plugin: make cuMemFreeHost error non-fatal 2016-04-21 16:11:47 +03:00
testsuite re PR middle-end/70626 (bogus results in 'acc parallel loop' reductions) 2016-04-29 10:42:04 -07:00
acinclude.m4
aclocal.m4
alloc.c
barrier.c
ChangeLog re PR middle-end/70626 (bogus results in 'acc parallel loop' reductions) 2016-04-29 10:42:04 -07:00
ChangeLog.graphite
config.h.in Merge of HSA 2016-01-19 11:35:10 +01:00
configure libgomp: Use HSA_RUNTIME_LIB, HSA_KMT_LIB in the testsuite 2016-02-02 13:48:31 +01:00
configure.ac
configure.tgt
critical.c
env.c
error.c
fortran.c
hashtab.h
iter_ull.c
iter.c
libgomp_f.h.in
libgomp_g.h libgomp external ABI prototypes maintenance 2016-04-12 15:13:53 +02:00
libgomp-plugin.c
libgomp-plugin.h Merge of HSA 2016-01-19 11:35:10 +01:00
libgomp.h omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not. 2016-04-12 09:05:29 +02:00
libgomp.map Merge BUILT_IN_GOACC_HOST_DATA into BUILT_IN_GOACC_DATA_START 2016-02-02 14:53:55 +01:00
libgomp.spec.in
libgomp.texi
loop_ull.c
loop.c
Makefile.am
Makefile.in libgomp: Use HSA_RUNTIME_LIB, HSA_KMT_LIB in the testsuite 2016-02-02 13:48:31 +01:00
oacc-async.c
oacc-cuda.c
oacc-host.c Merge of HSA 2016-01-19 11:35:10 +01:00
oacc-init.c
oacc-int.h
oacc-mem.c re PR libgomp/69414 ([OpenACC] "!$acc update self" does not provide expected result) 2016-03-23 14:38:55 +00:00
oacc-parallel.c Rename GOMP_MAP_FORCE_DEALLOC to GOMP_MAP_DELETE 2016-03-17 16:07:54 +01:00
oacc-plugin.c
oacc-plugin.h
omp_lib.f90.in
omp_lib.h.in
omp.h.in
openacc_lib.h
openacc.f90
openacc.h
ordered.c
parallel.c
priority_queue.c
priority_queue.h
sections.c
single.c
splay-tree.c
splay-tree.h
target.c omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not. 2016-04-12 09:05:29 +02:00
task.c omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not. 2016-04-12 09:05:29 +02:00
taskloop.c
team.c
work.c