[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
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 18 18:17:00 GMT 2018
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
More information about the Gcc-bugs
mailing list