[Bug c++/85060] [7/8 Regression] Object cannot call its inherited member function "without object"
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 3 17:47:00 GMT 2018
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
More information about the Gcc-bugs
mailing list