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++/48994] [4.7 regression] [C++0x] error for trivial use of range-based 'for'


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48994

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-15 23:04:06 UTC ---
Author: redi
Date: Sun May 15 23:04:04 2011
New Revision: 173778

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173778
Log:
    PR c++/48994
    * parser.c (cp_parser_perform_range_for_lookup): Call complete_type.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/range-for18.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


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