diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-05-31 02:44:34 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-05-31 02:44:34 +0000 |
commit | d57f4eadb38d52767d34661cc8249486bc2adec4 (patch) | |
tree | 0979464d6d8c730e7c1dd2eafd758a282d67fc21 /gcc/f/com.c | |
parent | 1ca244f8a3769aa865ded31c066bbc71e0404d17 (diff) | |
download | gcc-d57f4eadb38d52767d34661cc8249486bc2adec4.zip gcc-d57f4eadb38d52767d34661cc8249486bc2adec4.tar.gz gcc-d57f4eadb38d52767d34661cc8249486bc2adec4.tar.bz2 |
com.c (ffecom_init_0): Define built-in functions for tan and atan.
* com.c (ffecom_init_0): Define built-in functions for tan and atan.
* com-rt.def: Use then to implement g77's tan and atan intrinsics.
From-SVN: r67260
Diffstat (limited to 'gcc/f/com.c')
-rw-r--r-- | gcc/f/com.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/f/com.c b/gcc/f/com.c index 964e74d..39640e2 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -11753,6 +11753,13 @@ ffecom_init_0 () ffecom_tree_blockdata_type = build_function_type (void_type_node, NULL_TREE); + builtin_function ("__builtin_atanf", float_ftype_float, + BUILT_IN_ATANF, BUILT_IN_NORMAL, "atanf", NULL_TREE); + builtin_function ("__builtin_atan", double_ftype_double, + BUILT_IN_ATAN, BUILT_IN_NORMAL, "atan", NULL_TREE); + builtin_function ("__builtin_atanl", ldouble_ftype_ldouble, + BUILT_IN_ATANL, BUILT_IN_NORMAL, "atanl", NULL_TREE); + builtin_function ("__builtin_atan2f", float_ftype_float_float, BUILT_IN_ATAN2F, BUILT_IN_NORMAL, "atan2f", NULL_TREE); builtin_function ("__builtin_atan2", double_ftype_double_double, @@ -11816,6 +11823,13 @@ ffecom_init_0 () builtin_function ("__builtin_sqrtl", ldouble_ftype_ldouble, BUILT_IN_SQRTL, BUILT_IN_NORMAL, "sqrtl", NULL_TREE); + builtin_function ("__builtin_tanf", float_ftype_float, + BUILT_IN_TANF, BUILT_IN_NORMAL, "tanf", NULL_TREE); + builtin_function ("__builtin_tan", double_ftype_double, + BUILT_IN_TAN, BUILT_IN_NORMAL, "tan", NULL_TREE); + builtin_function ("__builtin_tanl", ldouble_ftype_ldouble, + BUILT_IN_TANL, BUILT_IN_NORMAL, "tanl", NULL_TREE); + pedantic_lvalues = FALSE; ffecom_f2c_make_type_ (&ffecom_f2c_integer_type_node, |