This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r259579 - in /branches/gcc-7-branch/gcc: cp/Cha...
- From: ville at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 23 Apr 2018 20:52:47 -0000
- Subject: 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