This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/10573: empty destructor not optimized away with 2 levels of inheritance and member with explicit destructor


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]