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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jul 2005 19:13:38 -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
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Keywords| |wrong-code
Summary|Wrong code: upcasting a |[4.0/4.1 Regression] Wrong
|const class pointer to |code: upcasting a const
|struct the class derives |class pointer to struct the
|from |class derives from (C/old-
| |style cast)
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22132