memcpy vs memmove and structure returns
Joseph S. Myers
jsm28@cam.ac.uk
Sat Apr 14 10:26:00 GMT 2001
On Sat, 14 Apr 2001 law@redhat.com wrote:
> Are there any svr3 platforms that we still care about that don't
> have memmove? Is there an alternate function we can use to do copies
> on those platforms when the source & dest might overlap?
The code in question already does use bcopy (which should be safe with
overlaps) on systems without TARGET_MEM_FUNCTIONS. However, the
documentation of TARGET_MEM_FUNCTIONS should be updated to indicate that
calls to memmove might be generated.
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-patches
mailing list