This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r176180 - 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: Mon, 11 Jul 2011 20:14:36 -0000
- Subject: r176180 - in /branches/gomp-3_1-branch/gcc: Cha...
Author: jakub
Date: Mon Jul 11 20:14:36 2011
New Revision: 176180
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176180
Log:
gcc/
* c-typeck.c (c_finish_omp_clauses): Don't complain about
const qualified predetermined vars in firstprivate clause.
Revert
2011-03-10 Jakub Jelinek <jakub@redhat.com>
* c-typeck.c (c_finish_omp_clauses): Complain about
TREE_READONLY decls in private, lastprivate and reduction
clauses.
gcc/c-family/
Revert
2011-03-10 Jakub Jelinek <jakub@redhat.com>
* c-omp.c (c_omp_predetermined_sharing): Don't return
OMP_CLAUSE_DEFAULT_SHARED for TREE_READONLY decls.
gcc/cp/
* semantics.c (finish_omp_clauses): Don't complain about
const qualified predetermined vars in firstprivate clause,
unless it is a static data member.
Revert
2011-03-10 Jakub Jelinek <jakub@redhat.com>
* cp-gimplify.c (cxx_omp_predetermined_sharing): Don't return
OMP_CLAUSE_DEFAULT_SHARED for decls with TYPE_READONLY
type having no mutable member.
* semantics.c (finish_omp_clauses): Complain about
TREE_READONLY decls with no mutable member in private,
lastprivate and reduction clauses.
gcc/testsuite/
* g++.dg/gomp/private-1.C: Adjust for expected wording of error
messages.
Revert
2011-03-10 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/gomp/appendix-a/a.24.1.c: Adjust for const-qualified
decls having no mutable members no longer being predetermined
shared.
* gcc.dg/gomp/sharing-1.c: Likewise.
* gcc.dg/gomp/clause-1.c: Likewise.
* g++.dg/gomp/sharing-1.C: Likewise.
* g++.dg/gomp/clause-3.C: Likewise.
* g++.dg/gomp/predetermined-1.C: Likewise.
Modified:
branches/gomp-3_1-branch/gcc/ChangeLog
branches/gomp-3_1-branch/gcc/c-family/ChangeLog
branches/gomp-3_1-branch/gcc/c-family/c-omp.c
branches/gomp-3_1-branch/gcc/c-typeck.c
branches/gomp-3_1-branch/gcc/cp/ChangeLog
branches/gomp-3_1-branch/gcc/cp/cp-gimplify.c
branches/gomp-3_1-branch/gcc/cp/semantics.c
branches/gomp-3_1-branch/gcc/testsuite/ChangeLog
branches/gomp-3_1-branch/gcc/testsuite/g++.dg/gomp/clause-3.C
branches/gomp-3_1-branch/gcc/testsuite/g++.dg/gomp/predetermined-1.C
branches/gomp-3_1-branch/gcc/testsuite/g++.dg/gomp/private-1.C
branches/gomp-3_1-branch/gcc/testsuite/g++.dg/gomp/sharing-1.C
branches/gomp-3_1-branch/gcc/testsuite/gcc.dg/gomp/appendix-a/a.24.1.c
branches/gomp-3_1-branch/gcc/testsuite/gcc.dg/gomp/clause-1.c
branches/gomp-3_1-branch/gcc/testsuite/gcc.dg/gomp/sharing-1.c