libm -fno-builtin

Keith Packard keithp@keithp.com
Mon Aug 27 10:45:00 GMT 2018


(I'm resending this, now that the newlib mail server has stopped
blocking my mail)

Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:
> That looks like a bug indeed since nobody will remember to use 
> -fno-tree-loop-distribute-patterns.

There's already a hack in string/memset.c which uses the
__inhibit_loop_to_libcall macro defined in string/local.h.

Using that in the remaining definitions of memset and memcpy should
solve the problem for now.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180827/dbc1e967/attachment.sig>


More information about the Newlib mailing list