r132255 - in /branches/gomp-3_0-branch: gcc/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Feb 12 14:01:00 GMT 2008
Author: jakub
Date: Tue Feb 12 14:01:43 2008
New Revision: 132255
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132255
Log:
* omp-low.c (lower_omp_for_lastprivate): Add lastprivate clauses
to the beginning of dlist rather than end.
(lower_omp_for): Add rec input clauses before OMP_FOR_PRE_BODY,
not after it.
* tree-cfg.c (remove_useless_stmts_1): Handle OMP_* containers.
* parser.c (cp_parser_binary_expression): Add prec argument.
(cp_parser_assignment_expression): Adjust caller.
(cp_parser_omp_for_cond, cp_parser_omp_for_incr): New helper
functions.
(cp_parser_omp_for_loop): Add clauses argument. Parse loops
with random access iterators. Set OMP_FOR_CLAUSES here.
(cp_parser_omp_for, cp_parser_omp_parallel): Adjust caller.
* semantics.c (finish_omp_for): Handle loops with random access
iterators.
* pt.c (tsubst_expr) <case OMP_FOR>: Handle loops with random
access iterators.
* g++.dg/gomp/for-16.C (foo): Add a new dg-error.
* testsuite/libgomp.c++/c++.exp: Add libstdc++-v3 build includes
to C++ testsuite default compiler options.
* testsuite/libgomp.c++/for-1.C: New test.
* testsuite/libgomp.c++/for-2.C: New test.
* testsuite/libgomp.c++/for-3.C: New test.
* testsuite/libgomp.c++/for-4.C: New test.
Added:
branches/gomp-3_0-branch/libgomp/testsuite/libgomp.c++/for-1.C
branches/gomp-3_0-branch/libgomp/testsuite/libgomp.c++/for-2.C
branches/gomp-3_0-branch/libgomp/testsuite/libgomp.c++/for-3.C
branches/gomp-3_0-branch/libgomp/testsuite/libgomp.c++/for-4.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/parser.c
branches/gomp-3_0-branch/gcc/cp/pt.c
branches/gomp-3_0-branch/gcc/cp/semantics.c
branches/gomp-3_0-branch/gcc/omp-low.c
branches/gomp-3_0-branch/gcc/testsuite/ChangeLog.gomp
branches/gomp-3_0-branch/gcc/testsuite/g++.dg/gomp/for-16.C
branches/gomp-3_0-branch/gcc/tree-cfg.c
branches/gomp-3_0-branch/libgomp/ChangeLog.gomp
branches/gomp-3_0-branch/libgomp/testsuite/libgomp.c++/c++.exp
More information about the Gcc-cvs
mailing list