]> gcc.gnu.org Git - gcc.git/commit
re PR c++/33894 (pragma omp atomic broken)
authorJakub Jelinek <jakub@redhat.com>
Tue, 6 Nov 2007 08:26:50 +0000 (09:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 6 Nov 2007 08:26:50 +0000 (09:26 +0100)
commit239371f9c700813d7e7be7f34959850bd36a720f
tree205548c01d5a82a1eb2ad023bb2bc6958fb4417e
parent873c716480f5aedc692af4d4ddf15e72682c5f27
re PR c++/33894 (pragma omp atomic broken)

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.

From-SVN: r129919
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/semantics.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/atomic-1.C [new file with mode: 0644]
This page took 0.059597 seconds and 5 git commands to generate.