[Bug c++/22281] [4.0/4.1 Regression] C-Style cast does reinterpret_cast when it should do a static_cast

2005-07-15 Thread mmitchel at gcc dot gnu dot org

--- Additional Comments From mmitchel at gcc dot gnu dot org  2005-07-15 
16:00 ---


*** This bug has been marked as a duplicate of 22132 ***

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||DUPLICATE


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


[Bug c++/22281] [4.0/4.1 Regression] C-Style cast does reinterpret_cast when it should do a static_cast

2005-07-06 Thread mmitchel at gcc dot gnu dot org

--- Additional Comments From mmitchel at gcc dot gnu dot org  2005-07-06 
16:40 ---
Yes, this is almost certainly a duplicate.  The basic problem is that
static_cast does not quite do as much as it should, so we fall back to
reinterpret_cast.

-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
   |dot org |
 Status|UNCONFIRMED |ASSIGNED
   Target Milestone|4.0.1   |4.0.2


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


[Bug c++/22281] [4.0/4.1 Regression] C-Style cast does reinterpret_cast when it should do a static_cast

2005-07-02 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

 CC||mmitchel at gcc dot gnu dot
   ||org
   Keywords||wrong-code
Summary|C-Style cast does   |[4.0/4.1 Regression] C-Style
   |reinterpret_cast when it|cast does reinterpret_cast
   |should do a static_cast |when it should do a
   ||static_cast
   Target Milestone|--- |4.0.1


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


[Bug c++/22281] [4.0/4.1 Regression] C-Style cast does reinterpret_cast when it should do a static_cast

2005-07-02 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-02 
19:55 ---
This looks like basicially PR 22132 but this has a short testcase.

-- 
   What|Removed |Added

OtherBugsDependingO||22132
  nThis||


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