------- Comment #6 from falk at debian dot org  2009-03-17 12:10 -------
(In reply to comment #1)
> calling memcpy with exactly overlapping operands is safe (obviously).

It's not safe at all. A memcpy implementation might use a "prefetch with write
intent" instruction that allocates a cache line to a memory location without
actually fetching it, such as wh64 on Alpha, which is actually being used by
glibc.


-- 


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

Reply via email to