This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

x86 build is broken


Tried building fsf mainline on x86-darwin. Syntax error compiling c- common.c. The preprocessed file shows the following:


if ("__builtin_" "acosf" && 1)
{ tree decl;
((void)(!((!1 && !1) || !strncmp ("__builtin_" "acosf", "__builtin_", strlen ("__builtin_"))) ? fancy_abort ("../../gcc- mainline/gcc/builtins.def", 162, __FUNCTION__), 0 : 0));
if (!1)
decl = lang_hooks.builtin_function ("__builtin_" "acosf", builtin_types[BT_FN_FLOAT_FLOAT], BUILT_IN_ACOSF, BUILT_IN_NORMAL, (1 ? ("__builtin_" "acosf" + strlen ("__builtin_")) : ((void *)0)), built_in_attributes[(int) (flag_errno_math ? ATTR_NOTHROW_LIST : (flag_unsafe_math_optimizations ? ATTR_CONST_NOTHROW_LIST : ATTR_PURE_NOTHROW_NOVOPS_LIST))]);
else
decl = builtin_function_2 ("__builtin_" "acosf", "__builtin_" "acosf" + strlen ("__builtin_"), builtin_types[BT_FN_FLOAT_FLOAT], builtin_types[BT_FN_FLOAT_FLOAT], BUILT_IN_ACOSF, BUILT_IN_NORMAL, 1, !flag_isoc99, built_in_attributes[(int) (flag_errno_math ? ATTR_NOTHROW_LIST : (flag_unsafe_math_optimizations ? ATTR_CONST_NOTHROW_LIST : ATTR_PURE_NOTHROW_NOVOPS_LIST))]);
built_in_decls[(int) BUILT_IN_ACOSF] = decl;
if ()
^^^^^^
implicit_built_in_decls[(int) BUILT_IN_ACOSF] = decl;
}



Which is result of macro expansion of:



DEF_C99_C90RES_BUILTIN (BUILT_IN_ACOSF, "acosf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)


in builtins.def.

- fariborz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]