------- Additional Comments From falk at debian dot org 2005-01-28 09:41 ------- Since this cast has undefined behaviour, as a is not actually a B, any behaviour of the program is acceptable, including what you get. Note that "private" was never meant as a security feature, there are lots of ways to circumvent it.
-- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19665