This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/10448] internal __dynamic_cast function fails if hint parameter==-1 (interoperability issue)


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]