gcc/libgomp/testsuite
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 Update copyright years. 2016-01-04 15:30:50 +01:00
lib libgcc_s is required by libstdc++ 2016-03-13 20:08:21 +01:00
libgomp.c re PR middle-end/70680 (OpenMP SIMD linear variable privatized too eagerly) 2016-04-20 03:42:24 +02:00
libgomp.c++ re PR c++/70376 (OpenMP taskloop construct fails to instantiate copy constructor(same as Bug 48869)) 2016-03-23 19:42:19 +01:00
libgomp.fortran [hsa testsuite] Adjust libgomp tests that do not work on host fallback 2016-03-07 19:42:33 +01:00
libgomp.graphite Update copyright years. 2016-01-04 15:30:50 +01:00
libgomp.hsa.c [hsa testsuite] New directory for HSA-specific C testcases 2016-03-07 19:45:17 +01:00
libgomp.oacc-c Also test -O0 for OpenACC C, C++ offloading test cases 2016-03-24 22:29:55 +01:00
libgomp.oacc-c++ re PR middle-end/70626 (bogus results in 'acc parallel loop' reductions) 2016-04-29 10:42:04 -07:00
libgomp.oacc-c-c++-common re PR middle-end/70626 (bogus results in 'acc parallel loop' reductions) 2016-04-29 10:42:04 -07:00
libgomp.oacc-fortran re PR middle-end/70626 (bogus results in 'acc parallel loop' reductions) 2016-04-29 10:42:04 -07:00
libgomp-test-support.exp.in libgomp: Use HSA_RUNTIME_LIB, HSA_KMT_LIB in the testsuite 2016-02-02 13:48:31 +01:00
Makefile.am Merge current set of OpenACC changes from gomp-4_0-branch. 2015-01-15 21:11:12 +01:00
Makefile.in libgomp: Use HSA_RUNTIME_LIB, HSA_KMT_LIB in the testsuite 2016-02-02 13:48:31 +01:00