This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27359] ICE with missing initialization of iteration variable in parallel for loop
- 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: 4 May 2006 06:29:24 -0000
- Subject: [Bug c++/27359] ICE with missing initialization of iteration variable in parallel for loop
- References: <bug-27359-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jakub at gcc dot gnu dot org 2006-05-04 06:29 -------
Subject: Bug 27359
Author: jakub
Date: Thu May 4 06:29:16 2006
New Revision: 113513
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113513
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/gomp/pr27359.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27359