This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/16172] [3.5 Regression] simple function generates an inappropriate memmove() call
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2004 08:52:03 -0000
- Subject: [Bug middle-end/16172] [3.5 Regression] simple function generates an inappropriate memmove() call
- References: <20040624072409.16172.akpm@osdl.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2004-06-24 08:52 -------
Just for the record, here's a test case:
struct fn_hash_idx_t {
unsigned datum;
};
struct fn_hash_idx_t
fn_hash(unsigned h)
{
return *(struct fn_hash_idx_t*)&h;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16172