This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13660] Multiple generation of constructors and destructors
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2004 17:12:36 -0000
- Subject: [Bug c++/13660] Multiple generation of constructors and destructors
- References: <20040112165651.13660.Rainer.Bensch@rsd.rohde-schwarz.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-01-12 17:12 -------
This is to be expected. The compiler has to generate multiple
copies of c/dtors for cases with multiple and/or virtual inheritance.
In some (probably most) cases, their code is actually the same, and
could be merged. This is an optimization that gcc presently does not
have. We have an open PR for this, though, see PR 3187.
W.
*** This bug has been marked as a duplicate of 3187 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13660