------- Comment #6 from cvs-commit at gcc dot gnu dot org  2005-10-21 18:57 
-------
Subject: Bug 24455

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gomp-20050608-branch
Changes by:     [EMAIL PROTECTED]    2005-10-21 18:57:39

Modified files:
        gcc            : ChangeLog.gomp c-decl.c c-parser.c c-tree.h 
        gcc/cp         : ChangeLog.gomp cp-tree.h decl.c semantics.c 
        libgomp        : ChangeLog 
Added files:
        libgomp/testsuite/libgomp.c++: pr24455-1.C pr24455.C 
        libgomp/testsuite/libgomp.dg: pr24455-1.c pr24455.c 

Log message:
        gcc/
        PR 24455
        * c-tree.h (C_DECL_THREADPRIVATE_P): Define.
        * c-parser.c (c_parser_omp_threadprivate): Set.
        Do not error out if C_DECL_THREADPRIVATE_P is set already.
        * c-decl.c (diagnose_mismatched_decls): Do not check for
        mismatched thread-local attributes when OLDDECL is marked
        threadprivate and NEWDECL has no thread-local attributes.
        (merge_decls): Merge C_DECL_THREADPRIVATE_P.

        gcc/cp/
        PR 24455
        * cp/cp-tree.h (struct lang_decl_flags): Add field
        threadprivate_p.
        (CP_DECL_IS_THREADPRIVATE): Define.
        * cp/semantics.c (finish_omp_threadprivate): Set.
        Do not error out if CP_DECL_IS_THREADPRIVATE is set already.
        * cp/decl.c (duplicate_decls): Merge CP_DECL_THREADPRIVATE_P.

        libgomp/
        PR 24455
        * testsuite/libgomp.c++/pr24455-1.C: New test.
        * testsuite/libgomp.c++/pr24455.C: New test.
        * testsuite/libgomp.dg/pr24455-1.c: New test.
        * testsuite/libgomp.dg/pr24455.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.6.97&r2=1.1.6.98
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.662.4.13&r2=1.662.4.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parser.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.17.4.37&r2=2.17.4.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.203.4.10&r2=1.203.4.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.8.14&r2=1.1.8.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1144.4.13&r2=1.1144.4.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1403.4.9&r2=1.1403.4.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.475.4.12&r2=1.475.4.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.6.49&r2=1.1.6.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.c++/pr24455-1.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.c++/pr24455.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.dg/pr24455-1.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.dg/pr24455.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24455

Reply via email to