This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67453] vtable not emitted for class with no key method and defaulted destructor with attribute((used))
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 Sep 2015 16:40:00 +0000
- Subject: [Bug c++/67453] vtable not emitted for class with no key method and defaulted destructor with attribute((used))
- Auto-submitted: auto-generated
- References: <bug-67453-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67453
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-09-04
CC| |jason at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
The bug is that we aren't emitting ~Foo even though it's marked used; the
vtable is just a side effect.