Bug compiling the C version of memset with gcc -O3

Jeff Johnston jjohnstn@redhat.com
Tue Dec 10 12:21:00 GMT 2013


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?

-- Jeff J.

----- Original Message -----
From: "Alexander Holler" <holler@ahsoftware.de>
To: newlib@sourceware.org
Sent: Sunday, December 8, 2013 12:06:19 AM
Subject: Re: Bug compiling the C version of  memset with gcc -O3

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:

http://sourceware.org/ml/libc-alpha/2013-06/msg00734.html

Regards,

Alexander Holler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: inhibit_loop.patch
Type: text/x-patch
Size: 44470 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131210/0b19e668/attachment.bin>


More information about the Newlib mailing list