r263230 - in /branches/gomp-5_0-branch: gcc/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Aug 1 17:45:00 GMT 2018


Author: jakub
Date: Wed Aug  1 17:45:51 2018
New Revision: 263230

URL: https://gcc.gnu.org/viewcvs?rev=263230&root=gcc&view=rev
Log:
	* tree-core.h (enum omp_clause_depend_kind): Remove
	OMP_CLAUSE_DEPEND_UNSPECIFIED, add OMP_CLAUSE_DEPEND_DEPOBJ.
	* gimplify.c (gimplify_omp_depend): Handle OMP_CLAUSE_DEPEND_DEPOBJ
	instead of OMP_CLAUSE_DEPEND_UNSPECIFIED.
	* omp-low.c (lower_depend_clauses): Likewise.
	* tree-pretty-print.c (dump_omp_clause): Likewise, print the
	dependence type unconditionally.
gcc/c-family/
	* c-omp.c (c_finish_omp_depobj): Test for OMP_CLAUSE_DEPEND_DEPOBJ
	on clause instead of OMP_CLAUSE_DEPEND_UNSPECIFIED, adjust diagnostics
	in that case.  Expect kind to be OMP_CLAUSE_DEPEND_SOURCE if clause
	is specified, rather than OMP_CLAUSE_DEPEND_UNSPECIFIED.
gcc/c/
	* c-parser.c (c_parser_omp_clause_depend): Adjust parsing for
	dependence type to be no longer optional and dependence modifier
	separated from dependence type by comma rather than colon.  Parse
	depobj dependence type.
	(c_parser_omp_depobj): Use OMP_CLAUSE_DEPEND_SOURCE instead of
	OMP_CLAUSE_DEPEND_UNSPECIFIED.
	* c-typeck.c (c_finish_omp_clauses): Handle OMP_CLAUSE_DEPEND_DEPOBJ
	instead of OMP_CLAUSE_DEPEND_UNSPECIFIED, adjust diagnostics.
gcc/cp/
	* parser.c (cp_parser_omp_clause_depend): Adjust parsing for
	dependence type to be no longer optional and dependence modifier
	separated from dependence type by comma rather than colon.  Parse
	depobj dependence type.
	(cp_parser_omp_depobj): Use OMP_CLAUSE_DEPEND_SOURCE instead of
	OMP_CLAUSE_DEPEND_UNSPECIFIED.
	* semantics.c (finish_omp_clauses): Handle OMP_CLAUSE_DEPEND_DEPOBJ
	instead of OMP_CLAUSE_DEPEND_UNSPECIFIED, adjust diagnostics.
	* pt.c (tsubst_expr): Use OMP_CLAUSE_DEPEND_SOURCE instead of
	OMP_CLAUSE_DEPEND_UNSPECIFIED.
gcc/testsuite/
	* c-c++-common/gomp/depend-iterator-1.c (foo, bar, baz): Separate
	dependence modifier from type with comma instead of colon.
	* c-c++-common/gomp/taskwait-depend-1.c (foo): Likewise.
	* c-c++-common/gomp/depobj-1.c (f1, f2, f3): Likewise.  Add depobj: to
	depend clauses without dependence type.  Add an extra test for depobj
	construct with depobj: type on depend clause and omp_depend_t type of
	the lvalue.
	* c-c++-common/gomp/depend-iterator-2.c (f1, f2, f3): Separate
	dependence modifier from type with comma instead of colon.  Adjust
	diagnostics for dependence type no longer being optional.
	* g++.dg/gomp/depend-iterator-1.C (foo, bar, baz): Separate
	dependence modifier from type with comma instead of colon.
	* g++.dg/gomp/depend-iterator-2.C (f1, f2, f3, f4): Likewise.  Adjust
	diagnostics for dependence type no longer being optional.
	* g++.dg/gomp/depobj-1.C (f1, f2, f4, f5): Separate dependence modifier
	from type with comma instead of colon.  Add depobj: to depend clauses
	without dependence type.  Add an extra test for depobj construct with
	depobj: type on depend clause and omp_depend_t type of the lvalue.
libgomp/
	* testsuite/libgomp.c-c++-common/depend-iterator-1.c (main): Separate
	dependence modifier from type with comma instead of colon.
	* testsuite/libgomp.c-c++-common/depend-iterator-2.c (foo): Likewise.
	* testsuite/libgomp.c-c++-common/depobj-1.c (dep, dep2, dep3,
	antidep): Add depobj: to depend clauses without dependence type.
	* testsuite/libgomp.c++/depend-iterator-1.C (bar, baz): Separate
	dependence modifier from type with comma instead of colon.
	* testsuite/libgomp.c++/depobj-1.C (dep, dep2, dep3, antidep): Add
	depobj: to depend clauses without dependence type.

Modified:
    branches/gomp-5_0-branch/gcc/ChangeLog.gomp
    branches/gomp-5_0-branch/gcc/c-family/ChangeLog.gomp
    branches/gomp-5_0-branch/gcc/c-family/c-omp.c
    branches/gomp-5_0-branch/gcc/c/ChangeLog.gomp
    branches/gomp-5_0-branch/gcc/c/c-parser.c
    branches/gomp-5_0-branch/gcc/c/c-typeck.c
    branches/gomp-5_0-branch/gcc/cp/ChangeLog.gomp
    branches/gomp-5_0-branch/gcc/cp/parser.c
    branches/gomp-5_0-branch/gcc/cp/pt.c
    branches/gomp-5_0-branch/gcc/cp/semantics.c
    branches/gomp-5_0-branch/gcc/gimplify.c
    branches/gomp-5_0-branch/gcc/omp-low.c
    branches/gomp-5_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-5_0-branch/gcc/testsuite/c-c++-common/gomp/depend-iterator-1.c
    branches/gomp-5_0-branch/gcc/testsuite/c-c++-common/gomp/depend-iterator-2.c
    branches/gomp-5_0-branch/gcc/testsuite/c-c++-common/gomp/depobj-1.c
    branches/gomp-5_0-branch/gcc/testsuite/c-c++-common/gomp/taskwait-depend-1.c
    branches/gomp-5_0-branch/gcc/testsuite/g++.dg/gomp/depend-iterator-1.C
    branches/gomp-5_0-branch/gcc/testsuite/g++.dg/gomp/depend-iterator-2.C
    branches/gomp-5_0-branch/gcc/testsuite/g++.dg/gomp/depobj-1.C
    branches/gomp-5_0-branch/gcc/tree-core.h
    branches/gomp-5_0-branch/gcc/tree-pretty-print.c
    branches/gomp-5_0-branch/libgomp/ChangeLog.gomp
    branches/gomp-5_0-branch/libgomp/testsuite/libgomp.c++/depend-iterator-1.C
    branches/gomp-5_0-branch/libgomp/testsuite/libgomp.c++/depobj-1.C
    branches/gomp-5_0-branch/libgomp/testsuite/libgomp.c-c++-common/depend-iterator-1.c
    branches/gomp-5_0-branch/libgomp/testsuite/libgomp.c-c++-common/depend-iterator-2.c
    branches/gomp-5_0-branch/libgomp/testsuite/libgomp.c-c++-common/depobj-1.c



More information about the Gcc-cvs mailing list