This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r109343 - in /branches/gcc-4_1-branch/gcc: cp/C...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 04 Jan 2006 18:49:22 -0000
- Subject: r109343 - in /branches/gcc-4_1-branch/gcc: cp/C...
Author: mmitchel
Date: Wed Jan 4 18:49:21 2006
New Revision: 109343
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109343
Log:
PR c++/24782
* parser.c (cp_parser_nested_name_specifier_opt): Preserve access
checks, even when parsing tentatively.
PR c++/24782
* g++.dg/parse/access9.C: New test.
* g++.dg/tc1/dr52.C: Tweak error markers.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/access9.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/parser.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/tc1/dr52.C