This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34513] static variable not found for C++ OpenMP
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2007 12:58:45 -0000
- Subject: [Bug c++/34513] static variable not found for C++ OpenMP
- References: <bug-34513-15289@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jakub at gcc dot gnu dot org 2007-12-19 12:58 -------
Subject: Bug 34513
Author: jakub
Date: Wed Dec 19 12:58:32 2007
New Revision: 131059
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131059
Log:
PR c++/34513
* parser.c (cp_parser_omp_parallel): For non-combined parallel
call cp_parser_statement rather than
cp_parser_already_scoped_statement.
* testsuite/libgomp.c/pr34513.c: New test.
* testsuite/libgomp.c++/pr34513.C: New test.
Added:
trunk/libgomp/testsuite/libgomp.c++/pr34513.C
trunk/libgomp/testsuite/libgomp.c/pr34513.c
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34513