r267144 - in /trunk/gcc: cp/ChangeLog cp/parser...

aoliva@gcc.gnu.org aoliva@gcc.gnu.org
Fri Dec 14 20:06:00 GMT 2018


Author: aoliva
Date: Fri Dec 14 20:06:15 2018
New Revision: 267144

URL: https://gcc.gnu.org/viewcvs?rev=267144&root=gcc&view=rev
Log:
[PR86823] retain deferred access checks from outside firewall

We used to preserve deferred access check along with resolved template
ids, but a tentative parsing firewall introduced additional layers of
deferred access checks, so that we don't preserve the checks we
want to any more.

This patch moves the deferred access checks from outside the firewall
into it.


From: Jason Merrill <jason@redhat.com>
for  gcc/cp/ChangeLog

	PR c++/86823
	* parser.c (cp_parser_template_id): Rearrange deferred access
	checks into the firewall.

From: Alexandre Oliva <aoliva@redhat.com>
for  gcc/testsuite/ChangeLog

	PR c++/86823
	* g++.dg/pr86823.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/pr86823.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list