This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13005] [3.3/3.4 Regresssion] [aliasing] Pointer wrongly adjusted for derived class containing virtual function
- From: "jazzdaq at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2003 11:13:58 -0000
- Subject: [Bug c++/13005] [3.3/3.4 Regresssion] [aliasing] Pointer wrongly adjusted for derived class containing virtual function
- References: <20031111075141.13005.stephenma@telus.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jazzdaq at yahoo dot com 2003-12-24 11:13 -------
I have some code that corrupts data due to this bug. Non-virtual base class,
virtual derived class. If base class is made virtual, the bug goes away. If
derived class is made non-virtual, the bug also goes away.
The bug occurs with both gcc 3.3.2 and 3.2.3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13005