This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22132] [4.0/4.1 Regression] Wrong code: upcasting a const class pointer to struct the class derives from (C/old-style cast)
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2005 16:00:24 -0000
- Subject: [Bug c++/22132] [4.0/4.1 Regression] Wrong code: upcasting a const class pointer to struct the class derives from (C/old-style cast)
- References: <20050621013546.22132.scott.tupaj@line6.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-07-15 16:00 -------
*** Bug 22281 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
Bug 22132 depends on bug 22281, which changed state.
Bug 22281 Summary: [4.0/4.1 Regression] C-Style cast does reinterpret_cast when it should do a static_cast
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22281
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |DUPLICATEBug 22132 depends on bug 22281, which changed state.
Bug 22281 Summary: [4.0/4.1 Regression] C-Style cast does reinterpret_cast when it should do a static_cast
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22281
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22132