This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r143682 - in /branches/gcc-4_3-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 26 Jan 2009 18:24:46 -0000
- Subject: r143682 - in /branches/gcc-4_3-branch/gcc: cp/C...
Author: jason
Date: Mon Jan 26 18:24:45 2009
New Revision: 143682
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143682
Log:
PR c++/23287
* parser.c (cp_parser_unqualified_id): In a template,
accept ~identifier.
* typeck.c (lookup_destructor): Handle IDENTIFIER_NODE.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/dtor5.C
- copied unchanged from r143502, trunk/gcc/testsuite/g++.dg/template/dtor5.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/parser.c
branches/gcc-4_3-branch/gcc/cp/typeck.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog