On Fri, Nov 30, 2012 at 2:17 PM, Alexander Ivchenko <aivch...@gmail.com> wrote: > Bionic has the support of almost all built-in functions from C99 iso > standard except for only complex math functions. > (I assume because bionic wants to be as small as possible and nobody > wants to do complex arithmetic on Android). > GCC however checks whether the runtime has the full support of C99 or > not, and if not it completely turns off all C99 builtins. > > It seems that we are missing the optimization opportunity here and > this patch (attached) is intended to turn on built-ins that are > supported > in bionic.
If you want to split TARGET_C99_FUNCTIONS then split it properly, don't add TARGET_HAS_BIONIC to the selection. Joseph may provide some guidance here. Richard. > bootstrap/tests are ok.