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++/49838] [C++0x] ICE in cp_parser_perform_range_for_lookup, at cp/parser.c:8796


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-07-25 15:29:16 UTC ---
Author: paolo
Date: Mon Jul 25 15:29:13 2011
New Revision: 176754

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176754
Log:
/cp
2011-07-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/49838
    * parser.c (cp_parser_perform_range_for_lookup): Early return if
    error_operand_p (range).

/testsuite
2011-07-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/49838
    * g++.dg/cpp0x/range-for19.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/range-for19.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]