c++/10573: empty destructor not optimized away with 2 levels of inheritance and member with explicit destructor
bangerth@dealii.org
bangerth@dealii.org
Thu May 1 00:19:00 GMT 2003
Synopsis: empty destructor not optimized away with 2 levels of inheritance and member with explicit destructor
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Thu May 1 00:19:57 2003
State-Changed-Why:
Confirmed, but already fixed. 3.3 gives this code:
pushl %ebp
xorl %eax, %eax
movl %esp, %ebp
subl $24, %esp
andl $-16, %esp
movl %ebp, %esp
popl %ebp
That's still silly, but at least better.
Thanks anyway for the report. Let us know if you find any
problems with gcc3.3 along the same lines.
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10573
More information about the Gcc-bugs
mailing list