This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51496] [4.7 Regression] FAIL: libgomp.c++/for-2.C * (test for excess errors)
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Dec 2011 18:55:10 +0000
- Subject: [Bug c++/51496] [4.7 Regression] FAIL: libgomp.c++/for-2.C * (test for excess errors)
- Auto-submitted: auto-generated
- References: <bug-51496-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51496
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-12 18:55:10 UTC ---
Author: jakub
Date: Mon Dec 12 18:55:06 2011
New Revision: 182257
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182257
Log:
PR c++/51496
* parser.c (cp_parser_omp_for_loop): When determining whether
to use cp_parser_omp_for_incr or cp_parser_expression and when
calling cp_parser_omp_for_incr, use real_decl instead of decl.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c