From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7968 invoked by alias); 29 Apr 2003 19:55:14 -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 7943 invoked by uid 48); 29 Apr 2003 19:55:14 -0000 Date: Tue, 29 Apr 2003 19:55:00 -0000 Message-ID: <20030429195514.7942.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, mmitchel@gcc.gnu.org, nobody@gcc.gnu.org, snyder@fnal.gov From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, mmitchel@gcc.gnu.org, nobody@gcc.gnu.org, snyder@fnal.gov, gcc-gnats@gcc.gnu.org Subject: Re: c++/10551: [3.3/3.4 regression] Failure to emit explicitly instantiated template w/--no-implicit-templates X-SW-Source: 2003-04/txt/msg01395.txt.bz2 List-Id: Old Synopsis: Failure to emit explicitly instantiated template w/--no-implicit-templates New Synopsis: [3.3/3.4 regression] Failure to emit explicitly instantiated template w/--no-implicit-templates Responsible-Changed-From-To: unassigned->mmitchel Responsible-Changed-By: bangerth Responsible-Changed-When: Tue Apr 29 19:55:14 2003 Responsible-Changed-Why: Might be due to a patch of yours State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Tue Apr 29 19:55:14 2003 State-Changed-Why: Confirmed. A regression in 3.3 and 3.4 w.r.t 3.2. Reduced code is this: --------------------------- template struct C { ~C(); }; template C::~C() {} struct X { C *p; ~X() { delete p; } }; template class C; C x; int main () {} -------------------------------- g/x> /home/bangerth/bin/gcc-3.3-pre/bin/c++ x.cc --no-implicit-templates /tmp/cckNVmwH.o: In function `__static_initialization_and_destruction_0(int, int)': /tmp/cckNVmwH.o(.text+0x3e): undefined reference to `C::~C [in-charge]()' (and same with 3.4). W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10551