PR c++/34513
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Dec 2007 12:58:32 +0000 (12:58 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Dec 2007 12:58:32 +0000 (12:58 +0000)
commit355efab120dc300ab2d52080920aee3988d93ae4
tree218084fab0c5c9054f254323159ee54c135a9e9c
parentd91cf56723fac241e2fbc9235a3e8909e34604e5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131059 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr34513.C [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr34513.c [new file with mode: 0644]