[Bug c++/15485] [tree-ssa] The C++ front-end generates a lot of (void) casts for statements

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 22 02:37:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-22 02:36 -------
A more reduced testcase:
struct iterator {
  int i;
  iterator operator++(int);
  void _M_bump_up();
};
iterator iterator::operator++(int) {
  iterator __tmp = *this;
  _M_bump_up();
  return __tmp;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-05-17 04:47:28         |2004-11-22 02:36:57
               date|                            |


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



More information about the Gcc-bugs mailing list