[Bug c++/66533] [C++14] ICE: in dependent_type_p, at cp/pt.c:21073

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 6 16:37:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Aug  6 16:36:58 2015
New Revision: 226685

URL: https://gcc.gnu.org/viewcvs?rev=226685&root=gcc&view=rev
Log:
        PR c++/66533
        * parser.c (cp_parser_primary_expression): Don't skip to the end
        of the statement if we're parsing tentatively.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice3.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/parser.c



More information about the Gcc-bugs mailing list