[PATCH Newlib]Dont inline std when optimizing for size

bin.cheng bin.cheng@arm.com
Thu Dec 12 08:22:00 GMT 2013


Hi,
This is just a pickup in newlib.  It specifies _NOINLINE_STATIC for std
since some version (4_8) GCC may inline this function even when we are
compiling for Os.
This is mainly a gcc problem and I have filed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59479 for GCC. 

Meanwhile, I think this is also wanted in Newlib, is it OK?

Thanks,
bin

2013-12-12  Bin Cheng  <bin.cheng@arm.com>

	* libc/stdio/findfp.c (std): Don't inline when optimizing
	for code size.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: no-inline-std-20131212.txt
URL: <http://sourceware.org/pipermail/newlib/attachments/20131212/f3ce004f/attachment.txt>


More information about the Newlib mailing list