class.c (add_implicitly_declared_members): Put implicitly declared functions at the...
authorMark Mitchell <mark@codesourcery.com>
Thu, 7 Nov 2002 21:33:44 +0000 (21:33 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 7 Nov 2002 21:33:44 +0000 (21:33 +0000)
commitf72ab53b264bdd34a0a0985d609b1b27f16fdb9b
tree0736c00c81f57f19c12f944af5c35fda1007c5c3
parent0977774ba0e8c40e13183a40300a255a803ecf89
class.c (add_implicitly_declared_members): Put implicitly declared functions at the end of TYPE_METHODs when...

* class.c (add_implicitly_declared_members): Put implicitly
declared functions at the end of TYPE_METHODs when -fabi-version
is at least 2.

* testsuite/g++.dg/abi/dtor1.C: New test.
* testsuite/g++.dg/abi/dtor2.C: Likewise.

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