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: "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: 4 Dec 2003 18:38:42 -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 pinskia at gcc dot gnu dot org 2003-12-04 18:38 -------
I think the problem for the C++ front-end is that Derived is being forward declared and not see
that Derived is a sub-class of Base so it is marking them as two different aliasing groups (but then
again I could be wrong).
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Summary|[aliasing] Pointer wrongly |[3.3/3.4 Regresssion]
|adjusted for derived class |[aliasing] Pointer wrongly
|containing virtual function |adjusted for derived class
| |containing virtual function
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13005