r176943 - in /branches/gomp-3_1-branch/gcc: cp/...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Jul 29 17:07:00 GMT 2011


Author: jakub
Date: Fri Jul 29 17:07:31 2011
New Revision: 176943

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176943
Log:
	* cp-tree.h (cxx_omp_const_qual_no_mutable): New prototype.
	* cp-gimplify.c (cxx_omp_const_qual_no_mutable): New function.
	(cxx_omp_predetermined_sharing): Use it.
	* semantics.c (finish_omp_clauses): Allow const qualified
	static data members having no mutable member in firstprivate
	clauses.

	* g++.dg/gomp/sharing-2.C: New test.

Added:
    branches/gomp-3_1-branch/gcc/testsuite/g++.dg/gomp/sharing-2.C
Modified:
    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/cp-tree.h
    branches/gomp-3_1-branch/gcc/cp/semantics.c
    branches/gomp-3_1-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list