public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17648] New: template destrucktor was not called for inherited classes
@ 2004-09-24  8:10 hs at profiforms dot de
  2004-09-24  8:13 ` [Bug c++/17648] " hs at profiforms dot de
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: hs at profiforms dot de @ 2004-09-24  8:10 UTC (permalink / raw)
  To: gcc-bugs

I've an unexpectet behavior while defining templates. 
In my example I show only the error. Please do not think it's my program 
itselfe.

Please compile and link the main.cpp whitout any additional files. The example 
is complete.

What I'm doing here: 

I step thousand of times through a function which create and destroy an object 
includes an subobject. 
The subobject is a child of an templete class.
On stdout you can see that the constructor was called but the the destructor 
never.

On Borland and MS it runs well. Why not in g++?

-- 
           Summary: template destrucktor was not called for inherited
                    classes
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hs at profiforms dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: same
  GCC host triplet: found fore Linux Intel HP-UX Solaris
GCC target triplet: same


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


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

end of thread, other threads:[~2005-05-10  5:55 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-24  8:10 [Bug c++/17648] New: template destrucktor was not called for inherited classes hs at profiforms dot de
2004-09-24  8:13 ` [Bug c++/17648] " hs at profiforms dot de
2004-09-24  8:14 ` hs at profiforms dot de
2004-09-24  9:08 ` [Bug c++/17648] template destructor " schwab at suse dot de
2004-09-24 11:50 ` pinskia at gcc dot gnu dot org
2004-09-24 12:43 ` bangerth at dealii dot org
2004-09-24 13:01 ` [Bug c++/17648] [3.3 regression] " bangerth at dealii dot org
2004-09-24 13:20 ` hs at profiforms dot de
2004-09-24 13:54 ` hs at profiforms dot de
2004-09-26 16:11 ` bangerth at dealii dot org
2004-09-27  3:26 ` giovannibajo at libero dot it
2004-09-27 14:29 ` gdr at cs dot tamu dot edu
2004-09-28 13:44 ` gdr at gcc dot gnu dot org
2004-10-06 15:01 ` hs at profiforms dot de
2004-10-28  3:49 ` [Bug c++/17648] [3.3/3.4 Regression] " giovannibajo at libero dot it
2004-10-28  3:54 ` pinskia at gcc dot gnu dot org
2004-10-28 15:30 ` reichelt at gcc dot gnu dot org
2004-10-28 16:33 ` giovannibajo at libero dot it
2004-11-01  0:14 ` mmitchel at gcc dot gnu dot org
2004-12-17 11:12 ` SWElef at post dot sk
2004-12-20 17:09 ` SWElef at post dot sk
2005-05-10  3:20 ` mmitchel at gcc dot gnu dot org
2005-05-10  5:55 ` pinskia at gcc dot gnu dot org

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).