This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Author: tschwinge
Date: Wed Dec 17 23:01:26 2014
New Revision: 218849

URL: https://gcc.gnu.org/viewcvs?rev=218849&root=gcc&view=rev
Log:
Miscellaneous code cleanup and extension.

	gcc/cp/
	* parser.c (cp_parser_oacc_clause_vector_length)
	(cp_parser_oacc_wait_list, cp_parser_omp_clause_num_gangs)
	(cp_parser_omp_clause_num_workers): Revise parsing.

	gcc/c-family/
	* c-pragma.h (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_AUTO,
	PRAGMA_OMP_CLAUSE_GANG, PRAGMA_OMP_CLAUSE_SEQ,
	PRAGMA_OMP_CLAUSE_VECTOR, and PRAGMA_OMP_CLAUSE_WORKER.
	gcc/c/
	* c-parser.c (c_parser_omp_clause_name): Handle "auto", "gang",
	"seq", "vector", and "worker".
	(c_parser_oacc_all_clauses): Handle
	PRAGMA_OMP_CLAUSE_FIRSTPRIVATE, and PRAGMA_OMP_CLAUSE_PRIVATE.
	* c-typeck.c (c_finish_omp_clauses): Handle OMP_CLAUSE_AUTO,
	OMP_CLAUSE_GANG, OMP_CLAUSE_SEQ, OMP_CLAUSE_VECTOR, and
	OMP_CLAUSE_WORKER.
	gcc/
	* tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_AUTO, and
	OMP_CLAUSE_SEQ.
	* tree.c (omp_clause_num_ops, omp_clause_code_name, walk_tree_1):
	Update accordingly.
	* gimplify.c (gimplify_scan_omp_clauses)
	(gimplify_adjust_omp_clauses): Handle OMP_CLAUSE_AUTO,
	OMP_CLAUSE_GANG, OMP_CLAUSE_SEQ, OMP_CLAUSE_VECTOR, and
	OMP_CLAUSE_WORKER.
	* tree-pretty-print.c (dump_omp_clause): Likewise.
	* omp-low.c (scan_sharing_clauses): Likewise.
	(struct omp_context): Add gwv_below, and gwv_this members.
	(enclosing_target_ctx, oacc_loop_or_target_p): New functions.
	(scan_omp_for, scan_omp_target): Use those.

	gcc/
	* tree-nested.c (convert_nonlocal_reference_stmt)
	(convert_local_reference_stmt, convert_tramp_reference_stmt)
	(convert_gimple_call) <GIMPLE_OMP_TARGET>: Use
	is_gimple_omp_offloaded.

	gcc/
	* omp-low.c (lower_reduction_clauses): Simplify OpenACC handling.

	gcc/
	* gimple.h: Rename is_gimple_omp_oacc_specifically to
	is_gimple_omp_oacc.  Update all users.

	gcc/
	* gimplify.c (enum omp_region_type): Restore ORT_TARGET_DATA and
	ORT_TARGET.  Update all users.

	gcc/
	* doc/generic.texi (OpenMP): Move OpenACC stuff into...
	(OpenACC): ... this new subsection.

	gcc/
	* oacc-builtins.def: Merge into omp-builtins.def.  Update all users.

	gcc/
	* builtin-types.def: Remove BT_FN_VOID_INT_PTR_INT.
	gcc/fortran/
	* types.def: Remove BT_FN_VOID_INT_PTR_INT.

Throughout, remove FIXME/TODO/XXX markers, reflect libgomp renaming, remove
lots of assertion checks.

Removed:
    branches/gomp-4_0-branch/gcc/oacc-builtins.def
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/Makefile.in
    branches/gomp-4_0-branch/gcc/builtin-types.def
    branches/gomp-4_0-branch/gcc/builtins.def
    branches/gomp-4_0-branch/gcc/c-family/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c-family/c-omp.c
    branches/gomp-4_0-branch/gcc/c-family/c-pragma.c
    branches/gomp-4_0-branch/gcc/c-family/c-pragma.h
    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/c/c-typeck.c
    branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/cp/parser.c
    branches/gomp-4_0-branch/gcc/doc/generic.texi
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/f95-lang.c
    branches/gomp-4_0-branch/gcc/fortran/types.def
    branches/gomp-4_0-branch/gcc/gimple.c
    branches/gomp-4_0-branch/gcc/gimple.def
    branches/gomp-4_0-branch/gcc/gimple.h
    branches/gomp-4_0-branch/gcc/gimplify.c
    branches/gomp-4_0-branch/gcc/omp-builtins.def
    branches/gomp-4_0-branch/gcc/omp-low.c
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/nesting-fail-1.c
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/loop-tree-1.f90
    branches/gomp-4_0-branch/gcc/tree-core.h
    branches/gomp-4_0-branch/gcc/tree-inline.c
    branches/gomp-4_0-branch/gcc/tree-nested.c
    branches/gomp-4_0-branch/gcc/tree-pretty-print.c
    branches/gomp-4_0-branch/gcc/tree.c
    branches/gomp-4_0-branch/gcc/tree.def
    branches/gomp-4_0-branch/gcc/tree.h
    branches/gomp-4_0-branch/libgcc/crtstuff.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]