This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/31598] g++ does not accept some OpenMP code



------- Comment #6 from jakub at gcc dot gnu dot org  2007-04-26 08:39 -------
Subject: Bug 31598

Author: jakub
Date: Thu Apr 26 08:39:25 2007
New Revision: 124180

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124180
Log:
        PR c++/31598
        * tree-inline.c (copy_body_r): Don't touch TREE_TYPE of OMP_CLAUSE.

        * semantics.c (finish_omp_clauses): Don't create CP_OMP_CLAUSE_INFO
        for type dependent OMP_CLAUSE_DECLs.

        * g++.dg/gomp/pr31598.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/gomp/pr31598.C
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/semantics.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/tree-inline.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]