This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r182257 - in /trunk/gcc/cp: ChangeLog parser.c
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 12 Dec 2011 18:55:07 -0000
- Subject: r182257 - in /trunk/gcc/cp: ChangeLog parser.c
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