This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13347] [tree-ssa] Incorrect code generated for reinterpret_cast<> of pointer-to-member
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2004 02:11:33 -0000
- Subject: [Bug optimization/13347] [tree-ssa] Incorrect code generated for reinterpret_cast<> of pointer-to-member
- References: <20031207222016.13347.bryner@brianryner.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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