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

Reply via email to