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++/86171] [6/7/8/9 Regression] g++ ICE on valid code: tree check: expected var_decl or function_decl, have type_decl in duplicate_decls, at cp/decl.c:2291


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 18 18:16:38 2018
New Revision: 261709

URL: https://gcc.gnu.org/viewcvs?rev=261709&root=gcc&view=rev
Log:
        PR c++/86171 - ICE with recursive alias instantiation.

        * pt.c (tsubst_decl): Handle recursive alias instantiation.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-65.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

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