Destructor for template classes bad in egcs-1.1.2?

Dario Accornero adario@softhome.net
Mon Apr 26 18:31:00 GMT 1999


Hello,

I have two 5K C++ tarballs at:

http://people.bu.edu/adario/sample.tar.gz
http://people.bu.edu/adario/test.tar.gz

These sources run fine with every gcc/egcs version I've tried
with the exception of egcs-1.1.2b -- I'm running LinuxPPC but
Gary Thomas from linuxppc.org tested them on his x86 machine
and they exhibited the same behaviour: SIGSEGV.
Both programmes run smoothly with gcc 2.7.2, 2.7.2.1, and 2.8.1
on Solaris 2.6, IRIX 5.1, and AIX 4.1.

gdb will reveal that the problem is in a destructor for a
template'd class which ends up being called twice -- or so
it would seem.

Could you please look into this issue?


Thanks,
Dario
-- 
SENATVS POPOLVSQVE ROMANVS ANNO MMDCCLII AB VRBE CONDITA AEDIFICAVIT


More information about the Gcc-bugs mailing list