[PATCH] PR string/19907: Incorrect memcpy tests

H.J. Lu hjl.tools@gmail.com
Sun May 8 16:13:00 GMT 2016


On Mon, Apr 4, 2016 at 10:02 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Clear the destination buffer updated by the previous run in bench-memcpy.c
> and test-memcpy.c to catch the error when the following implementations do
> not copy anything.
>
> Tested on x86-64.  OK for master?
>
> H.J.
> ---
>         PR string/19907
>         * enchtests/bench-memcpy.c (do_one_test): Clear the destination
>         buffer updated by the previous run.
>         * string/test-memcpy.c (do_one_test): Likewise.
>         * benchtests/bench-memmove.c (do_one_test): Add a comment.
>         * string/test-memmove.c (do_one_test): Likewise.

I enclosed the patch here again.  Any feedbacks, comments or objections?


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Clear-destination-buffer-updated-by-the-previous-run.patch
Type: text/x-patch
Size: 2852 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160508/7ca60b34/attachment.bin>


More information about the Libc-alpha mailing list