[Bug middle-end/16172] [3.5 Regression] simple function generates an inappropriate memmove() call

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 24 08:52:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list