r237210 - in /branches/gomp-4_0-branch: gcc/c/C...

cltang@gcc.gnu.org cltang@gcc.gnu.org
Wed Jun 8 11:52:00 GMT 2016


Author: cltang
Date: Wed Jun  8 11:52:45 2016
New Revision: 237210

URL: https://gcc.gnu.org/viewcvs?rev=237210&root=gcc&view=rev
Log:
2016-06-08  Chung-Lin Tang  <cltang@codesourcery.com>

	Backport trunk r237070:
	2016-06-03  Chung-Lin Tang  <cltang@codesourcery.com>

	c/
	* c-typeck.c (c_finish_omp_clauses): Mark OpenACC reduction
	arguments as addressable when async clause exists.

	cp/
	* semantics.c (finish_omp_clauses): Mark OpenACC reduction
	arguments as addressable when async clause exists.

	fortran/
	* trans-openmp.c (gfc_trans_omp_reduction_list): Add mark_addressable
	bool parameter, set reduction clause DECLs as addressable when true.
	(gfc_trans_omp_clauses): Pass clauses->async to
	gfc_trans_omp_reduction_list, add comment describing OpenACC situation.

	libgomp/
	* testsuite/libgomp.oacc-fortran/reduction-8.f90: New testcase.
	* testsuite/libgomp.oacc-c-c++-common/reduction-8.c: New testcase.


Added:
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-8.c
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/reduction-8.f90
Modified:
    branches/gomp-4_0-branch/gcc/c/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c/c-typeck.c
    branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/cp/semantics.c
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/trans-openmp.c
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp



More information about the Gcc-cvs mailing list