------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-08 
19:40 -------
Subject: Bug 20145

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2005-04-08 19:39:59

Modified files:
        gcc/cp         : ChangeLog cp-tree.def cp-tree.h tree.c pt.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/warn: Wdtor1.C 

Log message:
        * cp-tree.def (TINST_LEVEL): Document TINST_IN_SYSTEM_HEADER_P.
        * cp-tree.h (struct tinst_level): Add in_system_header_p.
        (TINST_IN_SYSTEM_HEADER_P): New macro.
        (make_tinst_level): Remove.
        * pt.c (lookup_template_class): Preserve DECL_IN_SYSTEM_HEADER on
        the instantiated class.
        (push_tinst_level): Do not use make_tinst_level.  Set
        TINST_IN_SYSTEM_HEADER_P.
        (pop_tinst_level): Likewise.
        (instantiate_class_template): Set in_system_header.
        (instantiate_pending_templates): Likewise.
        * tree.c (make_tinst_level): Remove.
        
        PR c++/20145
        * g++.dg/warn/Wdtor1.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4694&r2=1.4695
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.def.diff?cvsroot=gcc&r1=1.95&r2=1.96
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1116&r2=1.1117
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&r1=1.430&r2=1.431
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.991&r2=1.992
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5304&r2=1.5305
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wdtor1.C.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


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

Reply via email to