memmove w/ 1-byte offset

Andreas Jaeger aj@suse.de
Sun Oct 31 23:03:00 GMT 1999


On Tue, Oct 19, 1999 at 03:51:15PM -0500, nathan.zook@amd.com wrote:
> Description: memmove with 1-byte offset produces junk.

That a bug in your program.  Since buffer is allocated on the stack it
contains initially already junk.

Compare the output before and after calling memmove.

Andreas
-- 
 Andreas Jaeger   
  SuSE Labs aj@suse.de	
   private aj@arthur.rhein-neckar.de



More information about the Gcc-bugs mailing list