[Bug optimization/13347] [tree-ssa] Incorrect code generated for reinterpret_cast<> of pointer-to-member

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Mon Jan 26 02:11:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-01-26 02:11 -------
By the way, since I was wondering, this is allowed by [expr.reinterpret.cast]/9 
bullet 1: "converting an rvalue of type “pointer to member function” to a 
different pointer to member function type and back to its original type yields 
the original pointer to member value.". 

-- 


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



More information about the Gcc-bugs mailing list