This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/86374] [8/9 regression] template member name lookup problem
- From: "nathan at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jul 2018 16:46:41 +0000
- Subject: [Bug c++/86374] [8/9 regression] template member name lookup problem
- Auto-submitted: auto-generated
- References: <bug-86374-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86374
--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Fri Jul 13 16:46:08 2018
New Revision: 262639
URL: https://gcc.gnu.org/viewcvs?rev=262639&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.
PR c++/86374
* g++.dg/pr86374.C: New.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/pr86374.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/pt.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog