[Bug c++/13005] Pointer adjusted for derived class containing virtual function

2017-01-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13005

Martin Sebor  changed:

   What|Removed |Added

   Priority|P2  |P3
 Status|NEW |WAITING
 CC||msebor at gcc dot gnu.org

--- Comment #38 from Martin Sebor  ---
I don't see any spurious instructions in the unoptimized x86 assembly emitted
ny current trunk of 7.0 for the test case from comment #0 (below).

Running the program attached in comment #4 does still output the following:

  *** Last forward pointer should be list header.
  *** Backward: 1: is 0x602130 should be 0x602160

But given the lack of progress or any indication of activity on this bug in
over a decade, should it be closed as Won't Fix?  In the meantime, lowering
priority to P3.

_ZN4Base11insertAfterEP7Derived:
.LFB0:
.cfi_startproc
pushl   %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl%esp, %ebp
.cfi_def_cfa_register 5
movl8(%ebp), %eax
movl(%eax), %eax
movl12(%ebp), %edx
movl%edx, 8(%eax)
nop
popl%ebp

[Bug c++/13005] Pointer adjusted for derived class containing virtual function

2005-09-23 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-23 
22:34 ---
Note did you post your patch to [EMAIL PROTECTED]

-- 


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