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++/86374] [8/9 regression] template member name lookup problem


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

--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Fri Jul 13 15:33:27 2018
New Revision: 262637

URL: https://gcc.gnu.org/viewcvs?rev=262637&root=gcc&view=rev
Log:
[PR c++/86374] Name lookup failure in enclosing template

https://gcc.gnu.org/ml/gcc-patches/2018-07/msg00701.html
        PR c++/86374
        * pt.c (lookup_template_class_1): Use tsubst_aggr_type for
        contexts that are classes.
        * parser.c (cp_parser_template_id): Combine entering_scope decl &
        initializer.

        PR c++/86374
        * g++.dg/pr86374.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/pr86374.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.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]