This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/10448] internal __dynamic_cast function fails if hint parameter==-1 (interoperability issue)
- From: "nathan 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 Aug 2004 13:17:38 -0000
- Subject: [Bug libstdc++/10448] internal __dynamic_cast function fails if hint parameter==-1 (interoperability issue)
- References: <20030422010601.10448.sunil.k.davasam@intel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nathan at gcc dot gnu dot org 2004-08-24 13:17 -------
The code is ill-formed. You are reinterpret_casting between pointers
to unrelated classes.
tmp_ref_ptrC11 = (C11 *)&ref_obj2;
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10448