[Bug c++/33894] [4.3 Regression] pragma omp atomic broken
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 6 08:27:00 GMT 2007
------- Comment #5 from jakub at gcc dot gnu dot org 2007-11-06 08:27 -------
Subject: Bug 33894
Author: jakub
Date: Tue Nov 6 08:26:50 2007
New Revision: 129919
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129919
Log:
PR c++/33894
* cp-tree.h: Update comment - TYPE_LANG_FLAG_0 is not
OMP_ATOMIC_DEPENDENT_P in OMP_ATOMIC.
* pt.c (tsubst_expr): Assert OMP_ATOMIC_DEPENDENT_P.
* semantics.c (finish_omp_atomic): Revert most of the
2007-02-05 changes, just keep the new representation of
OMP_ATOMIC_DEPENDENT_P OMP_ATOMIC.
* testsuite/libgomp.c++/atomic-1.C: New test.
Added:
trunk/libgomp/testsuite/libgomp.c++/atomic-1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/pt.c
trunk/gcc/cp/semantics.c
trunk/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33894
More information about the Gcc-bugs
mailing list