PR c++/88830 - ICE with abstract class.
authorMarek Polacek <polacek@redhat.com>
Mon, 14 Jan 2019 20:09:10 +0000 (20:09 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 14 Jan 2019 20:09:10 +0000 (20:09 +0000)
commit345364cf7fa2a675d954ab4982bec6d664ee96e8
tree8ad3894565479b8bf2f311a0e079fc53238e22e7
parent2d91f79dc990f81dcea89a5087cad566238b2456
PR c++/88830 - ICE with abstract class.

* decl2.c (maybe_emit_vtables): Check CLASSTYPE_LAZY_DESTRUCTOR.
Fix formatting.

* g++.dg/other/abstract7.C: New test.

From-SVN: r267924
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/abstract7.C [new file with mode: 0644]