c++/9622: [3.2 regression] __PRETTY_FUNCTION__ incorrect in template dtors
bangerth@dealii.org
bangerth@dealii.org
Sat Feb 8 00:28:00 GMT 2003
Old Synopsis: __PRETTY_FUNCION__ incorrect in template dtors
New Synopsis: [3.2 regression] __PRETTY_FUNCTION__ incorrect in template dtors
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Sat Feb 8 00:28:06 2003
State-Changed-Why:
Fixed in 3.3 and 3.4, not fixed in 3.2.2. Worked in 2.95:
tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ z.cc
tmp/g> ./a.out
A::A()
B<T>::B() [with T = int]
B<T>::~B() [with T = int]
A::~A()
tmp/g> /home/bangerth/bin/gcc-3.2.2-pre/bin/c++ z.cc
tmp/g> ./a.out
A::A()
B<T>::B() [with T = int]
void B<T>::B() [with T = int]
A::~A()
tmp/g> c++ z.cc
tmp/g> ./a.out
A::A()
B<int>::B()
B<int>::~B()
A::~A()
I think I recall that there was once a report in the bug
database about this case. It may contain a clue as to
what patch fixed this. If you want, it would be great
if you could try to find this patch, and it might go
into a possible gcc3.2.3, if such a release ever happens.
Thanks
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9622
More information about the Gcc-bugs
mailing list