Commit r232191 causes the following fail on arm-none-eabi target:
FAIL: gcc.dg/torture/builtin-integral-1.c -O1 (test for excess errors)
As it no longer folds away __builtin_ceill for __builtin_fabsf. This is because Gerald's patch checks for 'targetm.libc_has_function (function_c99_misc)' for a transformation used here and, for arm-none-eabi, TARGET_LIBC_HAS_FUNCTION is defined as 'no_c99_libc_has_function', which always returns false.
The question now is whether we should support function_c99_misc with 'arm-none-eabi', which comes with newlib. I believe newlib does not claim to fully support C99.
Relevant thread on gcc-patches:
I have decided to email the newlib mailinglist to figure out which function classes we should and should not support for 'arm-none-eabi'.
Test was changed to require C99 runtime in r232487.