PR C++/88114 Gen destructor of an abstract class
commitb13091dd9dbabe7fde4b112c4bfb9be729493c16
authorTobias Burnus <burnus@net-b.de>
Fri, 11 Jan 2019 19:40:13 +0000 (11 20:40 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 11 Jan 2019 19:40:13 +0000 (11 20:40 +0100)
tree0baba5296e756ae241a261a2f8e14b979b24bb37
parent4321da7b93e4a5de7ca73a9933db8be6822a9ff1
PR C++/88114 Gen destructor of an abstract class

        PR C++/8811
        * decl2.c (maybe_emit_vtables): If needed, generate code for
        the destructor of an abstract class.
        (mark_used): Update comment for older function-name change.

        PR C++/88114
        * g++.dg/cpp0x/defaulted61.C: New.
        * g++.dg/cpp0x/defaulted62.C: New.

From-SVN: r267855
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted61.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/defaulted62.C [new file with mode: 0644]