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++/85060] [7/8 Regression] Object cannot call its inherited member function "without object"


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]