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++/77638] [6/7 Regression] ICE on x86_64-linux-gnu (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in cp_parser_template_declaration_after_parameters, at cp/parser.c:25722)


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Sep 20 15:17:41 2016
New Revision: 240266

URL: https://gcc.gnu.org/viewcvs?rev=240266&root=gcc&view=rev
Log:
        PR c++/77638
        * parser.c (cp_parser_template_declaration_after_parameter): For 2
        argument operator"" template set ok to false for
        parm == error_mark_node.

        * g++.dg/cpp0x/udlit-tmpl-arg-neg2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/udlit-tmpl-arg-neg2.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]