re PR c++/68722 (internal compiler error: in merge_exception_specifiers, at cp/typeck...
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 12 Apr 2016 17:54:34 +0000 (17:54 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 12 Apr 2016 17:54:34 +0000 (17:54 +0000)
commit2b2f52bccfd2f83ff0ed5e33baabd9f9266132f3
tree569637f539eb8f079158b6899d26291186a4e0f8
parent5901e56ab019387103eceba713d7b936f6d58d04
re PR c++/68722 (internal compiler error: in merge_exception_specifiers, at cp/typeck2.c:2108)

/cp
2016-04-12  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/68722
* parser.c (cp_parser_cache_defarg): When file ends in default
argument simply return error_mark_node.

/testsuite
2016-04-12  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/68722
* g++.dg/parse/pr68722.C: New.

From-SVN: r234909
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pr68722.C [new file with mode: 0644]