Bug compiling the C version of memset with gcc -O3
Alexander Holler
holler@ahsoftware.de
Tue Dec 10 18:59:00 GMT 2013
Am 10.12.2013 01:04, schrieb Jeff Johnston:
> I have modified your patch to include the missing configuration stuff.
> I also moved things out of the user name space.
>
> Can you please try it out to verify I haven't missed anything?
Looks like a monday morning patch. ;)
The patch doesn't apply cleanly to the tarball of newlib 2.0 and
contained two errors.
First, local.h isn't included, second in local.h the following can be found:
/:
Taken from glibc:
Add the compiler optimization to inhibit loop transformation to library
calls. This is used to avoid recursive calls in memset and memmove
default implementations.
*/
I've fixed all that in the attached updated version of the patch.
Thanks for adding the configure stuff, I had lost the motivation to do
that myself because autoreconf insisted here on some version of autoconf
I haven't installed. ;)
Regards,
Alexander Holler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inhibit_loop.patch
Type: text/x-patch
Size: 40213 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131210/4933511b/attachment.bin>
More information about the Newlib
mailing list