platform_bionic/libm
Jing Yu d50225ad20 Disable sincos optimization for sincos calls.
sincos() functions would be turned into infinite calls to
itself if sincos optimization is applied to itself. See
gcc bugzilla http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46926

arm-linux-androideabi-4.4.3 toolchain does not have this problem
because sincos optimization is entirely disabled. Starting
from arm-linux-androideabi-4.6 toolchain, we enable sincos optimization
in gcc.

This patch simply enforce -O0 on this function to minimize the
change.

Change-Id: I0fc00b5f1dd71c0a024943bdedfed29b0d195e82
2011-08-17 10:29:41 -07:00
..
alpha Initial Contribution 2008-10-21 07:00:00 -07:00
amd64 Initial Contribution 2008-10-21 07:00:00 -07:00
arm Initial Contribution 2008-10-21 07:00:00 -07:00
bsdsrc Reversed order of const and static to hush warning from compiler. 2010-01-16 10:23:18 -05:00
i386 Initial Contribution 2008-10-21 07:00:00 -07:00
i387 Merge "Remove extra/unneeded copy of fenv.h" 2010-12-14 07:09:35 -08:00
ia64 Initial Contribution 2008-10-21 07:00:00 -07:00
include libm: Add nanf() and tgammaf() implementations. 2011-01-25 17:07:26 +01:00
man Initial Contribution 2008-10-21 07:00:00 -07:00
powerpc Initial Contribution 2008-10-21 07:00:00 -07:00
sh added and modified libm to support SuperH architecture 2009-08-31 16:25:42 +09:00
sparc64 Initial Contribution 2008-10-21 07:00:00 -07:00
src libm: Add nanf() and tgammaf() implementations. 2011-01-25 17:07:26 +01:00
Android.mk libm: Add nanf() and tgammaf() implementations. 2011-01-25 17:07:26 +01:00
fpclassify.c Initial Contribution 2008-10-21 07:00:00 -07:00
isinf.c Initial Contribution 2008-10-21 07:00:00 -07:00
Makefile-orig Initial Contribution 2008-10-21 07:00:00 -07:00
MODULE_LICENSE_BSD_LIKE Initial Contribution 2008-10-21 07:00:00 -07:00
NOTICE Initial Contribution 2008-10-21 07:00:00 -07:00
sincos.c Disable sincos optimization for sincos calls. 2011-08-17 10:29:41 -07:00