This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]