This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51496] [4.7 Regression] FAIL: libgomp.c++/for-2.C * (test for excess errors)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]