This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34949] Dead code in empty destructors.
- From: "spark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2008 23:23:31 -0000
- Subject: [Bug c++/34949] Dead code in empty destructors.
- References: <bug-34949-13468@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from spark at gcc dot gnu dot org 2008-01-23 23:23 -------
I understand why it's difficult to delete the code in the middle-end. But this
case seems to be quite common - not the empty body but more common cases are
destructors whose body doesn't need vtable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34949