From dc6f415864bad4172aa2b396007cbb4ed2acf949 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 14 Dec 2001 22:06:35 +0100 Subject: builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and __builtin_fsqrt to __builtin_sqrt. 2001-12-14 Roger Sayle * builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and __builtin_fsqrt to __builtin_sqrt. * builtins.c (expand_builtin_mathfn,expand_builtin): Same. * doc/extend.texi: Simplify documentation to match patch. f: * com-rt.def: Use __builtin_sqrt instead of __builtin_fsqrt. * com.c (ffecom_init_0): Same, and fixed enumeration usage. libstdc++-v3: * acconfig.h: Test for __builtin_sqrt instead of __builtin_fsqrt. * acinclude.m4: Same. * include/c_shadow/bits/std_cmath.h: Same. * aclocal.m4: Regenerated. * config.h.in: Regenerated. * configure: Regenerated. From-SVN: r48008 --- gcc/f/com.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gcc/f/com.c') diff --git a/gcc/f/com.c b/gcc/f/com.c index 7167b40..982b3f8 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -11713,23 +11713,23 @@ ffecom_init_0 () = build_function_type (void_type_node, NULL_TREE); builtin_function ("__builtin_sqrtf", float_ftype_float, - BUILT_IN_FSQRT, BUILT_IN_NORMAL, "sqrtf"); - builtin_function ("__builtin_fsqrt", double_ftype_double, - BUILT_IN_FSQRT, BUILT_IN_NORMAL, "sqrt"); + BUILT_IN_SQRTF, BUILT_IN_NORMAL, "sqrtf"); + builtin_function ("__builtin_sqrt", double_ftype_double, + BUILT_IN_SQRT, BUILT_IN_NORMAL, "sqrt"); builtin_function ("__builtin_sqrtl", ldouble_ftype_ldouble, - BUILT_IN_FSQRT, BUILT_IN_NORMAL, "sqrtl"); + BUILT_IN_SQRTL, BUILT_IN_NORMAL, "sqrtl"); builtin_function ("__builtin_sinf", float_ftype_float, - BUILT_IN_SIN, BUILT_IN_NORMAL, "sinf"); + BUILT_IN_SINF, BUILT_IN_NORMAL, "sinf"); builtin_function ("__builtin_sin", double_ftype_double, BUILT_IN_SIN, BUILT_IN_NORMAL, "sin"); builtin_function ("__builtin_sinl", ldouble_ftype_ldouble, - BUILT_IN_SIN, BUILT_IN_NORMAL, "sinl"); + BUILT_IN_SINL, BUILT_IN_NORMAL, "sinl"); builtin_function ("__builtin_cosf", float_ftype_float, - BUILT_IN_COS, BUILT_IN_NORMAL, "cosf"); + BUILT_IN_COSF, BUILT_IN_NORMAL, "cosf"); builtin_function ("__builtin_cos", double_ftype_double, BUILT_IN_COS, BUILT_IN_NORMAL, "cos"); builtin_function ("__builtin_cosl", ldouble_ftype_ldouble, - BUILT_IN_COS, BUILT_IN_NORMAL, "cosl"); + BUILT_IN_COSL, BUILT_IN_NORMAL, "cosl"); pedantic_lvalues = FALSE; -- cgit v1.1