Patch: Add __restrict to string.h
Joel Sherrill
joel.sherrill@oarcorp.com
Wed Aug 14 13:19:00 GMT 2013
On 8/14/2013 7:59 AM, Peter Rosin wrote:
> On 2013-08-14 14:26, Peter Rosin wrote:
>> On 2013-07-18 19:46, Joel Sherrill wrote:
>>> Index: libc/machine/xscale/memcpy.c
>>> ===================================================================
>>> RCS file: /cvs/src/src/newlib/libc/machine/xscale/memcpy.c,v
>>> retrieving revision 1.2
>>> diff -u -r1.2 memcpy.c
>>> --- libc/machine/xscale/memcpy.c 20 Apr 2002 00:29:51 -0000 1.2
>>> +++ libc/machine/xscale/memcpy.c 18 Jul 2013 17:44:19 -0000
>>> @@ -8,7 +8,7 @@
>>> #include "xscale.h"
>>>
>>> void *
>>> -memcpy (void *dst0, const void *src0, size_t len)
>>> +memcpy (void *_restrict dst0, const void *_restrict src0, size_t len)
>>> {
>>> int dummy;
>>> asm volatile (
>> Missing an underscore? I.e. __restrict instead of _restrict?
> That was fixed in v3. Sorry for not finishing reading...
No problem. Is it correct in CVS? That's what matters.
I recall having grep'ed for " _restrict".
> Cheers,
> Peter
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the Newlib
mailing list