r173013 - in /branches/gomp-3_1-branch: gcc/cp/...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Apr 27 08:18:00 GMT 2011
Author: jakub
Date: Wed Apr 27 08:18:33 2011
New Revision: 173013
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173013
Log:
* parser.c (cp_parser_omp_atomic): Handle parsing OpenMP 3.1 atomics.
Adjust finish_omp_atomic caller.
* cp-tree.h (finish_omp_atomic): Adjust prototype.
* semantics.c (finish_omp_atomic): Add OPCODE, V and LHS1 arguments.
Handle OpenMP 3.1 atomics.
* pt.c (tsubst_expr) <case OMP_ATOMIC>: Handle OpenMP 3.1 atomics.
* testsuite/libgomp.c++/atomic-2.C: New test.
* testsuite/libgomp.c++/atomic-3.C: New test.
* testsuite/libgomp.c++/atomic-4.C: New test.
* testsuite/libgomp.c++/atomic-5.C: New test.
Added:
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.c++/atomic-2.C
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.c++/atomic-3.C
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.c++/atomic-4.C
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.c++/atomic-5.C
Modified:
branches/gomp-3_1-branch/gcc/cp/ChangeLog
branches/gomp-3_1-branch/gcc/cp/cp-tree.h
branches/gomp-3_1-branch/gcc/cp/parser.c
branches/gomp-3_1-branch/gcc/cp/pt.c
branches/gomp-3_1-branch/gcc/cp/semantics.c
branches/gomp-3_1-branch/libgomp/ChangeLog
More information about the Gcc-cvs
mailing list