------- Comment #3 from kkojima at gcc dot gnu dot org 2006-11-05 12:12 ------- Sorry for adding duplicate PRs.
I had a slightly deeper look. The ceilf builtin is defined only for C99 targets in builtins.def: DEF_C99_C90RES_BUILTIN (BUILT_IN_CEILF, "ceilf", BT_FN_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST) but the lceilf builtin is defined without any condition: DEF_GCC_BUILTIN (BUILT_IN_LCEILF, "lceilf", BT_FN_LONG_FLOAT, ATTR_MATHFN_FPROUNDING) and it seems that expand_builtin_int_roundingfn function requires implicit_built_in_decls[BUILT_IN_CEILF], which is null, as a fallback. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29719