r246381 - in /trunk: gcc/ChangeLog gcc/gimplify...

cesar@gcc.gnu.org cesar@gcc.gnu.org
Wed Mar 22 13:52:00 GMT 2017


Author: cesar
Date: Wed Mar 22 13:52:10 2017
New Revision: 246381

URL: https://gcc.gnu.org/viewcvs?rev=246381&root=gcc&view=rev
Log:
	PR c++/80029

	gcc/
	* gimplify.c (is_oacc_declared): New function.
	(oacc_default_clause): Use it to set default flags for acc declared
	variables inside parallel regions.
	(gimplify_scan_omp_clauses): Strip firstprivate pointers for acc
	declared variables.
	(gimplify_oacc_declare): Gimplify the declare clauses.  Add the
	declare attribute to any decl as necessary.

	libgomp/
	* testsuite/libgomp.oacc-c-c++-common/declare-vla.c: New test.

Added:
    trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/declare-vla.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/libgomp/ChangeLog



More information about the Gcc-cvs mailing list