re PR c++/27359 (ICE with missing initialization of iteration variable in parallel...
authorJakub Jelinek <jakub@redhat.com>
Thu, 4 May 2006 06:29:16 +0000 (08:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 4 May 2006 06:29:16 +0000 (08:29 +0200)
commit76c5e6e079f5efe7ba978771e5234c303ca407c8
treecd0e4b2189581cb9de48b625e69f5f862ffb856c
parent0ef1a53701b2673cab9c1a342694d66af5dc580a
re PR c++/27359 (ICE with missing initialization of iteration variable in parallel for loop)

PR c++/27359
* parser.c (cp_parser_omp_for_loop): Only call
cp_parser_abort_tentative_parse if cp_parser_parse_definitely was not
called.

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

From-SVN: r113513
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr27359.C [new file with mode: 0644]