[Bug c++/84434] [8 Regression] internal compiler error: tree check: expected var_decl or field_decl or function_decl or type_decl or template_decl, have using_decl in build_deduction_guide, at cp/pt.c:25636

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 1 22:08:00 GMT 2018


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

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Thu Mar  1 22:08:02 2018
New Revision: 258114

URL: https://gcc.gnu.org/viewcvs?rev=258114&root=gcc&view=rev
Log:
[PR c++/84434] ICE with deduction guide

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00063.html
        PR c++/84434
        * name-lookup.c (member_vec_dedup): Remove manually peeled
        iteration.  Ignore dependent ctor inheritance.

        PR c++/84434
        * g++.dg/template/pr84434.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/pr84434.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list