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++/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)


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 17 20:34:17 2017
New Revision: 244554

URL: https://gcc.gnu.org/viewcvs?rev=244554&root=gcc&view=rev
Log:
        Backported from mainline
        2017-01-11  Jakub Jelinek  <jakub@redhat.com>

        PR c++/78341
        * parser.c (cp_parser_std_attribute_spec): Remove over-eager
        assertion.  Formatting fix.

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

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr78341.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/parser.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]