https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69227
Bug ID: 69227
Summary: FAIL: gcc.dg/torture/builtin-integral-1.c -O1 (test
for excess errors)
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: andre.simoesdiasvieira at arm dot com
Target Milestone: ---
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.