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

[Bug c++/23287] [4.2/4.3/4.4 regression] Explicitly invoking destructor of template class in a template and is dependent



------- Comment #22 from jason at gcc dot gnu dot org  2009-01-19 22:50 -------
Subject: Bug 23287

Author: jason
Date: Mon Jan 19 22:50:43 2009
New Revision: 143502

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143502
Log:
        PR c++/23287
        * parser.c (cp_parser_unqualified_id): In a template,
        accept ~identifier.
        * typeck.c (lookup_destructor): Handle IDENTIFIER_NODE.

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23287


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