[PATCH] Fix Wundef warning for MEMCPY_OK_FOR_FWD_MEMMOVE
Will Newton
will.newton@linaro.org
Fri Jun 27 09:28:00 GMT 2014
On 27 June 2014 10:21, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
> On Thu, Jun 26, 2014 at 12:04:23PM -0700, Roland McGrath wrote:
>> That only helps x86_64 and not anybody else using that file (whether
>> directly by sysdeps selection or by #include). I think memcopy.h should
>> be required to define that one way or the other. Then we can have a
>> default in sysdeps/generic/memcopy.h.
>
> Wouldn't that not catch cases where one forgets to define the macro
> and inherits the default?
It's an optimization hint so it should be ok to inherit the default of
"use the slow copy loop".
--
Will Newton
Toolchain Working Group, Linaro
More information about the Libc-alpha
mailing list