[Bug c++/68722] [4.9/5/6 Regression] internal compiler error: in merge_exception_specifiers, at cp/typeck2.c:2108

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 12 17:55:00 GMT 2016


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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Apr 12 17:54:34 2016
New Revision: 234909

URL: https://gcc.gnu.org/viewcvs?rev=234909&root=gcc&view=rev
Log:
/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.

Added:
    trunk/gcc/testsuite/g++.dg/parse/pr68722.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list