This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15485] [tree-ssa] The C++ front-end generates a lot of (void) casts for statements
- 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: 23 Aug 2004 06:14:15 -0000
- Subject: [Bug c++/15485] [tree-ssa] The C++ front-end generates a lot of (void) casts for statements
- References: <20040517043902.15485.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-23 06:14 -------
And here is reduced testcase for the newest one I see:
struct iterator {
int i;
iterator operator++(int) {
iterator __tmp = *this;
_M_bump_up();
return __tmp;
}
void _M_bump_up();
};
iterator t, t1;
void g(){t1 = t++;}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15485