r135655 - in /branches/gomp-3_0-branch: gcc/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue May 20 13:10:00 GMT 2008
Author: jakub
Date: Tue May 20 13:10:50 2008
New Revision: 135655
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135655
Log:
* langhooks.h (struct lang_hooks_for_decls): Add omp_finish_clause.
* langhooks-def.h (LANG_HOOKS_OMP_FINISH_CLAUSE): Define.
(LANG_HOOKS_DECLS): Add LANG_HOOKS_OMP_FINISH_CLAUSE.
* gimplify.c (gimplify_adjust_omp_clauses_1): Call omp_finish_clause
langhook.
cp/
* cp-tree.h (outer_curly_brace_block, cxx_omp_finish_clause,
cxx_omp_create_clause_info): New prototypes.
* decl.c (outer_curly_brace_block): No longer static.
* cp-gimplify.c (cxx_omp_finish_clause): New function.
(cxx_omp_predetermined_sharing): Moved from semantics.c,
rewritten.
* cp-objcp-common.h (LANG_HOOKS_OMP_FINISH_CLAUSE): Define.
* semantics.c (cxx_omp_create_clause_info): New function.
(finish_omp_clauses): Call it.
(cxx_omp_predetermined_sharing): Removed.
testsuite/
* g++.dg/gomp/task-1.C: New test.
* g++.dg/gomp/predetermined-1.C: New test.
libgomp/
* testsuite/libgomp.c++/task-5.C: New test.
Added:
branches/gomp-3_0-branch/gcc/testsuite/g++.dg/gomp/predetermined-1.C
branches/gomp-3_0-branch/gcc/testsuite/g++.dg/gomp/task-1.C
branches/gomp-3_0-branch/libgomp/testsuite/libgomp.c++/task-5.C
Modified:
branches/gomp-3_0-branch/gcc/ChangeLog.gomp
branches/gomp-3_0-branch/gcc/cp/ChangeLog.gomp
branches/gomp-3_0-branch/gcc/cp/cp-gimplify.c
branches/gomp-3_0-branch/gcc/cp/cp-objcp-common.h
branches/gomp-3_0-branch/gcc/cp/cp-tree.h
branches/gomp-3_0-branch/gcc/cp/decl.c
branches/gomp-3_0-branch/gcc/cp/semantics.c
branches/gomp-3_0-branch/gcc/gimplify.c
branches/gomp-3_0-branch/gcc/langhooks-def.h
branches/gomp-3_0-branch/gcc/langhooks.h
branches/gomp-3_0-branch/gcc/testsuite/ChangeLog.gomp
branches/gomp-3_0-branch/libgomp/ChangeLog.gomp
More information about the Gcc-cvs
mailing list