class.c (add_vcall_offset_vtbl_entries_1): Correct ordering of vcall offfsets.
authorMark Mitchell <mark@codesourcery.com>
Fri, 8 Nov 2002 02:16:48 +0000 (02:16 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 8 Nov 2002 02:16:48 +0000 (02:16 +0000)
commite6a6656780e22cd77495bd8faf3b179455346e15
tree8a244591acba56e22812980ef1a56c3b92b02e7a
parent4f2c9d7ec6409e570be8df243c57e4e3298b26e6
class.c (add_vcall_offset_vtbl_entries_1): Correct ordering of vcall offfsets.

* class.c (add_vcall_offset_vtbl_entries_1): Correct ordering of
vcall offfsets.  Split out ...
(add_vcall_offset): ... new function.

* g++.dg/abi/vthunk3.C: New test.

From-SVN: r58912
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/vthunk3.C [new file with mode: 0644]