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++/86063] [6/7/8/9 Regression] g++ ICE at tree check: expected tree_list, have expr_pack_expansion in cp_check_const_attributes, at cp/decl2.c:1391


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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Jun 14 21:07:14 2018
New Revision: 261613

URL: https://gcc.gnu.org/viewcvs?rev=261613&root=gcc&view=rev
Log:
        PR c++/86063
        * decl2.c (cp_check_const_attributes): Skip trees that are not
        TREE_LISTs.

        * g++.dg/cpp0x/gen-attrs-65.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/gen-attrs-65.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.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]