This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79401] [7 Regression] Protected inheriting ctor
- 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: Fri, 10 Feb 2017 18:01:58 +0000
- Subject: [Bug c++/79401] [7 Regression] Protected inheriting ctor
- Auto-submitted: auto-generated
- References: <bug-79401-4@http.gcc.gnu.org/bugzilla/>
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