This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r176201 - in /branches/gomp-3_1-branch: gcc/Cha...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 12 Jul 2011 13:03:53 -0000
- Subject: r176201 - in /branches/gomp-3_1-branch: gcc/Cha...
Author: jakub
Date: Tue Jul 12 13:03:53 2011
New Revision: 176201
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176201
Log:
* c-parser.c (c_parser_omp_atomic): Fix handling of
#pragma omp atomic capture { x++; v = x; } and
#pragma omp atomic capture { x--; v = x; }.
* parser.c (cp_parser_omp_atomic): Fix handling of
#pragma omp atomic capture { x++; v = x; } and
#pragma omp atomic capture { x--; v = x; }.
* testsuite/libgomp.c/atomic-11.c: Add new tests.
* testsuite/libgomp.c/atomic-12.c: Likewise.
* testsuite/libgomp.c++/atomic-2.C: Likewise.
* testsuite/libgomp.c++/atomic-3.C: Likewise.
* testsuite/libgomp.c++/atomic-4.C: Likewise.
* testsuite/libgomp.c++/atomic-5.C: Likewise.
Modified:
branches/gomp-3_1-branch/gcc/ChangeLog
branches/gomp-3_1-branch/gcc/c-parser.c
branches/gomp-3_1-branch/gcc/cp/ChangeLog
branches/gomp-3_1-branch/gcc/cp/parser.c
branches/gomp-3_1-branch/libgomp/ChangeLog
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
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.c/atomic-11.c
branches/gomp-3_1-branch/libgomp/testsuite/libgomp.c/atomic-12.c