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 c++/13005] [aliasing] Pointer wrongly adjusted for derived class containing virtual function


------- Additional Comments From geoffk at gcc dot gnu dot org  2003-11-16 12:04 -------
I believe this program is OK.  [expr.cast] says:
- a pointer to an object of non-virtual base class type ... may be explicitly converted to a pointer... 
of a derived class type...


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-16 12:04:48
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13005


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