From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17534 invoked by alias); 26 Feb 2003 05:46:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17515 invoked by uid 71); 26 Feb 2003 05:46:01 -0000 Date: Wed, 26 Feb 2003 05:46:00 -0000 Message-ID: <20030226054601.17514.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: mmitchel@gcc.gnu.org Subject: c++/9683 Reply-To: mmitchel@gcc.gnu.org X-SW-Source: 2003-02/txt/msg01357.txt.bz2 List-Id: The following reply was made to PR c++/9683; it has been noted by GNATS. From: mmitchel@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: c++/9683 Date: 26 Feb 2003 05:39:01 -0000 CVSROOT: /cvs/gcc Module name: gcc Changes by: mmitchel@gcc.gnu.org 2003-02-26 05:39:01 Modified files: gcc/cp : ChangeLog decl2.c pt.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/template: static3.C Log message: PR c++/9683 * decl2.c (prune_vars_needing_no_initialization): Do not throw away initializations for DECL_EXTERNAL VAR_DECLs. (finish_file): Adjust accordingly. * pt.c (instantiate_decl): Do not defer VAR_DECLs. PR c++/9683 * g++.dg/template/static3.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3216&r2=1.3217 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.599&r2=1.600 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.665&r2=1.666 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2447&r2=1.2448 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/static3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1