[Bug c++/31598] g++ does not accept some OpenMP code
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 26 07:39:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list