[Bug c++/78341] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_parser_std_attribute_spec, at cp/parser.c:24597)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 11 18:10:00 GMT 2017


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 11 18:09:58 2017
New Revision: 244329

URL: https://gcc.gnu.org/viewcvs?rev=244329&root=gcc&view=rev
Log:
        PR c++/78341
        * parser.c (cp_parser_std_attribute_spec): Remove over-eager
        assertion.  Formatting fix.

        * g++.dg/cpp0x/pr78341.C: New test.

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


More information about the Gcc-bugs mailing list