r202884 - in /branches/gomp-4_0-branch/gcc: Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Sep 25 07:54:00 GMT 2013
Author: jakub
Date: Wed Sep 25 07:54:15 2013
New Revision: 202884
URL: http://gcc.gnu.org/viewcvs?rev=202884&root=gcc&view=rev
Log:
* omp-low.c (lower_omp_sections, lower_omp_for, lower_omp_taskreg):
Emit ctx->cancel_label before destructors.
* gimple-pretty-print.c (dump_gimple_omp_block,
pp_gimple_stmt_1): Handle GIMPLE_OMP_TASKGROUP.
* tree-nested.c (convert_nonlocal_reference_stmt,
convert_local_reference_stmt, convert_gimple_call): Likewise.
* tree-cfg.c (make_edges): Likewise.
* gimple.h (gimple_build_omp_taskgroup): New prototype.
(gimple_has_substatement): Handle GIMPLE_OMP_TASKGROUP.
(CASE_GIMPLE_OMP): Likewise.
* gimplify.c (is_gimple_stmt, gimplify_expr): Handle OMP_TASKGROUP.
* omp-low.c (check_omp_nesting_restrictions): Warn if #pragma omp
cancel is used in nowait loop or sections construct.
(scan_omp_1_stmt, expand_omp_synch, expand_omp, lower_omp_1): Handle
GIMPLE_OMP_TASKGROUP.
(diagnose_sb_1, diagnose_sb_2): Likewise. Handle GIMPLE_OMP_TARGET
and GIMPLE_OMP_TEAMS.
(lower_omp_taskgroup): New function.
* tree-inline.c (remap_gimple_stmt, estimate_num_insns): Handle
GIMPLE_OMP_TASKGROUP.
* gimple-low.c (lower_stmt): Likewise.
* tree.h (OMP_TASKGROUP_BODY): Define.
* tree.def (OMP_TASKGROUP): New tree.
* tree-pretty-print.c (dump_generic_node): Handle OMP_TASKGROUP.
* gimple.c (gimple_build_omp_taskgroup): New function.
(walk_gimple_stmt, gimple_copy): Handle GIMPLE_OMP_TASKGROUP.
* gimple.def (GIMPLE_OMP_TASKGROUP): New GIMPLE code.
c-family/
* c-common.h (c_finish_omp_taskgroup): New prototype.
* c-omp.c (c_finish_omp_taskgroup): New function.
c/
* c-parser.c (c_parser_omp_taskgroup): Return tree.
Don't call c_begin_omp_taskgroup.
(c_parser_omp_construct): Adjust caller.
* c-typeck.c (c_begin_omp_taskgroup, c_finish_omp_taskgroup): Remove.
* c-tree.h (c_begin_omp_taskgroup, c_finish_omp_taskgroup): Remove.
cp/
* parser.c (cp_parser_omp_taskgroup): Return tree. Use
c_finish_omp_taskgroup.
(cp_parser_omp_construct): Adjust caller.
* cp-array-notation.c (expand_array_notation_exprs): Handle
OMP_TASKGROUP.
* pt.c (tsubst_expr): Handle OMP_TASKGROUP.
* semantics.c (finish_omp_taskgroup): Remove.
* cp-tree.h (finish_omp_taskgroup): Remove.
testsuite/
* g++.dg/gomp/target-1.C: New test.
* g++.dg/gomp/target-2.C: New test.
* g++.dg/gomp/teams-1.C: New test.
* g++.dg/gomp/taskgroup-1.C: New test.
* gcc.dg/gomp/teams-1.c: New test.
* gcc.dg/gomp/taskgroup-1.c: New test.
* gcc.dg/gomp/target-1.c: New test.
* gcc.dg/gomp/target-2.c: New test.
* c-c++-common/gomp/cancel-1.c: New test.
Added:
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/gomp/cancel-1.c
branches/gomp-4_0-branch/gcc/testsuite/g++.dg/gomp/target-1.C
branches/gomp-4_0-branch/gcc/testsuite/g++.dg/gomp/target-2.C
branches/gomp-4_0-branch/gcc/testsuite/g++.dg/gomp/taskgroup-1.C
branches/gomp-4_0-branch/gcc/testsuite/g++.dg/gomp/teams-1.C
branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/gomp/target-1.c
branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/gomp/target-2.c
branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/gomp/taskgroup-1.c
branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/gomp/teams-1.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-common.h
branches/gomp-4_0-branch/gcc/c-family/c-omp.c
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-tree.h
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/cp-array-notation.c
branches/gomp-4_0-branch/gcc/cp/cp-tree.h
branches/gomp-4_0-branch/gcc/cp/parser.c
branches/gomp-4_0-branch/gcc/cp/pt.c
branches/gomp-4_0-branch/gcc/cp/semantics.c
branches/gomp-4_0-branch/gcc/gimple-low.c
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/tree-cfg.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
More information about the Gcc-cvs
mailing list