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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2008 18:39:21 -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 #5 from pinskia at gcc dot gnu dot org 2008-01-24 18:39 -------
This still needs communication from the front-end to the middle-end. The
middle-end part should be a rather easy extension to both the RTL and tree
level DSEs really.
The way I see fixing it is adding a statement which marks *this dead at some
point. This might be used for fixing PR 19831 also.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34949