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++/79401] [7 Regression] Protected inheriting ctor


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 10 18:01:27 2017
New Revision: 245339

URL: https://gcc.gnu.org/viewcvs?rev=245339&root=gcc&view=rev
Log:
        PR c++/79401 - protected inherited constructor

        * call.c (enforce_access): For inheriting constructor, find a base
        binfo in the path we already have.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor25.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c

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