r226970 - in /branches/gomp-4_0-branch: gcc/Cha...

jnorris@gcc.gnu.org jnorris@gcc.gnu.org
Tue Aug 18 14:16:00 GMT 2015


Author: jnorris
Date: Tue Aug 18 14:16:48 2015
New Revision: 226970

URL: https://gcc.gnu.org/viewcvs?rev=226970&root=gcc&view=rev
Log:
	gcc/
	* gimplify.c (enum acc_region_kind): New enum.
	(gimplify_oacc_declare): New.
	(gimplify_omp_target_update): Remove handling of OACC_DECLARE.
	(gimplify_expr): Handle OACC_DECLARE.
	(gimplify_body): Handle ARK_DECLARE.
	* tree.def (OACC_DECLARE): Update.
	* tree.h (OACC_DECLARE_RETURN_CLAUSES): New.

	gcc/c/
	* c-parser (check_oacc_vars_1, check_oacc_vars, struct oacc_return,
	find_oacc_return, finish_oacc_declare): Remove.
	(c_parser_declaration_or_fndef): Remove call.
	(c_parser_oacc_declare): Rewrite.

	gcc/cp/
	* decl.c (check_oacc_vars_1, check_oacc_vars, struct oacc_return,
	find_oacc_return, finish_oacc_declare): Remove.
	(finish_function): Remove call.
	* parser.c (cp_parser_oacc_declare): Rewrite.
	* pt.c (tsubst_expr): Handle OACC_DECLARE:

	gcc/fortran/
	* gfortran.h (struct gfc_oacc_declare): New field.
	* trans-decl.c (finish_oacc_declare): Rewrite.
	* trans-openmp.c (gfc_trans_oacc_declare): Rewrite.

	gcc/testsuite/
	* gfortran.dg/goacc/declare-1.f95: Update scan.

	libgomp/
	* testsuite/libgomp.oacc-c++/declare-1.C: Update.
	* testsuite/libgomp.oacc-c-c++-common/default-1: Additional testing.
	* testsuite/libgomp.oacc-fortran/declare-1.f90: Likewise.
	* testsuite/libgomp.oacc-fortran/default-1.f90: Likewise.

Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c/c-parser.c
    branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/cp/decl.c
    branches/gomp-4_0-branch/gcc/cp/parser.c
    branches/gomp-4_0-branch/gcc/cp/pt.c
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/gfortran.h
    branches/gomp-4_0-branch/gcc/fortran/trans-decl.c
    branches/gomp-4_0-branch/gcc/fortran/trans-openmp.c
    branches/gomp-4_0-branch/gcc/gimplify.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/declare-1.f95
    branches/gomp-4_0-branch/gcc/tree.def
    branches/gomp-4_0-branch/gcc/tree.h
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c++/declare-1.C
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/default-1.c
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/default-1.f90



More information about the Gcc-cvs mailing list