• Jing Yu's avatar
    Disable sincos optimization for sincos calls. · d50225ad
    Jing Yu authored
    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
    d50225ad