This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85060] [7/8 Regression] Object cannot call its inherited member function "without object"
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Apr 2018 17:47:01 +0000
- Subject: [Bug c++/85060] [7/8 Regression] Object cannot call its inherited member function "without object"
- Auto-submitted: auto-generated
- References: <bug-85060-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85060
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr 3 17:46:30 2018
New Revision: 259046
URL: https://gcc.gnu.org/viewcvs?rev=259046&root=gcc&view=rev
Log:
PR c++/85060 - wrong-code with call to base member in template.
* search.c (any_dependent_bases_p): Check uses_template_parms
rather than processing_template_decl.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/template/dependent-base3.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/search.c