------- Comment #5 from paolo dot carlini at oracle dot com 2008-12-12 11:39 ------- Sorry, but I still do not understand: __x (a const _Rb_tree_node_base *) is casted to _Const_Link_type (a const _Rb_tree_node<_Val> *) before the access, then of course an _M_value_field esists. By the way, all these cast games are very, very old (I hope we are not uncovering one more aliasing issue in the HP/SGI code)...
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38477