This is the mail archive of the gcc-cvs@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]

r259579 - in /branches/gcc-7-branch/gcc: cp/Cha...


Author: ville
Date: Mon Apr 23 20:52:47 2018
New Revision: 259579

URL: https://gcc.gnu.org/viewcvs?rev=259579&root=gcc&view=rev
Log:
Implement P0969

Backport from mainline

2018-04-05  Ville Voutilainen  <ville.voutilainen@gmail.com>

	Implement P0969
	* decl.c (find_decomp_class_base): Check accessibility instead
	of declared access, adjust diagnostic.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/decomp38.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/decl.c
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/decomp4.C


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