[Bug c++/51496] [4.7 Regression] FAIL: libgomp.c++/for-2.C * (test for excess errors)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 12 19:02:00 GMT 2011
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
More information about the Gcc-bugs
mailing list