public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10551: [3.3/3.4 regression] Failure to emit explicitly instantiated template w/--no-implicit-templates
@ 2003-04-29 22:16 mmitchel
  0 siblings, 0 replies; 2+ messages in thread
From: mmitchel @ 2003-04-29 22:16 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mmitchel, snyder

Synopsis: [3.3/3.4 regression] Failure to emit explicitly instantiated template w/--no-implicit-templates

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Tue Apr 29 22:16:25 2003
State-Changed-Why:
    Fixed in GCC 3.3, GCC 3.4.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10551


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/10551: [3.3/3.4 regression] Failure to emit explicitly instantiated template w/--no-implicit-templates
@ 2003-04-29 19:55 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-04-29 19:55 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mmitchel, nobody, snyder

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 <class T> struct C {
      ~C();
    };
    template <class T> C<T>::~C() {}
    
    struct X {
        C<X> *p;
        ~X() { delete p; }
    };
    
    template class C<X>;
    C<X> 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<X>::~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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-29 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-29 22:16 c++/10551: [3.3/3.4 regression] Failure to emit explicitly instantiated template w/--no-implicit-templates mmitchel
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29 19:55 bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).