re PR c++/66533 ([C++14] ICE: in dependent_type_p, at cp/pt.c:21073)
authorJason Merrill <jason@redhat.com>
Thu, 6 Aug 2015 16:33:14 +0000 (12:33 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 6 Aug 2015 16:33:14 +0000 (12:33 -0400)
commit1bcc5f29a71797dea523d8750dfb75a2b36920b3
treefab8c8d1a5b5eb16ca322e8270a95da977e26e50
parentb2074542354ae9cd2166dc3d0529edf71b9ae8e6
re PR c++/66533 ([C++14] ICE: in dependent_type_p, at cp/pt.c:21073)

PR c++/66533
* parser.c (cp_parser_primary_expression): Don't skip to the end
of the statement if we're parsing tentatively.

From-SVN: r226684
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice3.C [new file with mode: 0644]