This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19605] [4.0 Regression] Wrong member offset in inherited classes
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2005 00:00:54 -0000
- Subject: [Bug c++/19605] [4.0 Regression] Wrong member offset in inherited classes
- References: <20050124145222.19605.peter@os.inf.tu-dresden.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-01-29 00:00 -------
This is undefined behavior, and it is not worthwhile to try to make this work.
There are existing ways (offsetof and poiners-to-members) to accomplish what the
submitter wants to do.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19605