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]

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


Author: tschwinge
Date: Thu Mar 20 14:40:01 2014
New Revision: 208704

URL: http://gcc.gnu.org/viewcvs?rev=208704&root=gcc&view=rev
Log:
Continue implementation of OpenACC loop construct.

	gcc/
	* gimple.h (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP.
	(is_gimple_omp_oacc_specifically): Handle it.
	* gimple-pretty-print.c (dump_gimple_omp_for): Likewise.
	* gimple.def (GIMPLE_OMP_FOR): Update for OpenACC loop.
	* gimple.c (gimple_build_omp_for): Don't explicitly mention some
	clauses.
	(gimple_copy) <GIMPLE_OMP_FOR>: Handle GF_OMP_FOR_KIND_OACC_LOOP.
	* omp-low.c (extract_omp_for_data, scan_sharing_clauses)
	(check_omp_nesting_restrictions, lower_rec_input_clauses)
	(lower_lastprivate_clauses, lower_reduction_clauses)
	(expand_omp_for_generic, expand_omp_for_static_nochunk)
	(expand_omp_for_static_chunk, maybe_add_implicit_barrier_cancel)
	(lower_omp_for): Likewise.
	* tree-inline.c (remap_gimple_stmt): Likewise.
	* tree-nested.c (walk_gimple_omp_for)
	(convert_nonlocal_reference_stmt, convert_local_reference_stmt)
	(convert_gimple_call): Likewise.
	* doc/gimple.texi (GIMPLE_OMP_FOR): Don't explicitly mention some
	clauses.
	* gimplify.c (gimplify_omp_for, gimplify_expr): Handle OACC_LOOP.
	gcc/testsuite/
	* c-c++-common/goacc-gomp/nesting-1.c: New file.
	* c-c++-common/goacc-gomp/nesting-fail-1.c: Extend.
	* c-c++-common/goacc/clauses-fail.c: Likewise.
	* c-c++-common/goacc/nesting-1.c: Likewise.
	* gcc.dg/goacc/sb-1.c: Likewise.
	* gcc.dg/goacc/sb-3.c: New file.

	gcc/c-family/
	* c-omp.c (check_omp_for_incr_expr, c_finish_omp_for): Update
	comments.
	* c-pragma.c (oacc_pragmas): Sort PRAGMA_OACC_LOOP alphabetically.
	* c-pragma.h (enum pragma_kind): Likewise.
	gcc/c/
	* c-parser.c: Update comments.
	(c_parser_oacc_loop): Move.
	(c_parser_omp_for_loop): Catch some unsupported cases.
	(c_parser_omp_construct) <case PRAGMA_OACC_LOOP>: Sort
	alphabetically.
	gcc/
	* tree.def (OACC_LOOP): Sort after OMP_DISTRIBUTE.
	* tree.h (OMP_LOOP_CHECK): Update accordingly.
	* gimplify.c (is_gimple_stmt): Sort OACC_LOOP after
	OMP_DISTRIBUTE.
	* tree-pretty-print.c (dump_generic_node): Likewise.
	* doc/generic.texi (OACC_LOOP): Sort after OACC_HOST_DATA.
	(OMP_FOR): Fix and extend for OACC_LOOP.

Added:
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc-gomp/nesting-1.c
    branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/goacc/sb-3.c
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    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/doc/generic.texi
    branches/gomp-4_0-branch/gcc/doc/gimple.texi
    branches/gomp-4_0-branch/gcc/gimple-pretty-print.c
    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-low.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc-gomp/nesting-fail-1.c
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/clauses-fail.c
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/nesting-1.c
    branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/goacc/sb-1.c
    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.def
    branches/gomp-4_0-branch/gcc/tree.h


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