Bug compiling the C version of memset with gcc -O3

Alexander Holler holler@ahsoftware.de
Mon Dec 9 10:55:00 GMT 2013

Am 08.12.2013 03:40, schrieb Alexander Holler:

> I've stumbled over bug compiling newlib 2.0 for ARM with gcc and -O3.

I've attached a quickly done patch which fixed the issue here. Please
not that this patch still needs some love from someone (see the line
containing "hack" in the patch) as I haven't changed configure and
possible existing tests.

It's unlikely that I will post another (better) version of this patch,
but maybe someone else wants to do that. An example how it could look
like can be found here:



Alexander Holler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: inhibit_loop_to_libcall.patch
Type: text/x-patch
Size: 2230 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131209/b2c4c770/attachment.bin>

More information about the Newlib mailing list