According to the man page, atan does not produce an error. According to the C23
standard draft (N3088), a range error occurs for atan if a nonzero x is too
close to zero. Neither of them mentions that atan will result in a domain error.
gcc/ChangeLog:
* tree-call-cdce.cc (edom_only_function): Remove atan.
Signed-off-by: Yuao Ma <c8ef@outlook.com>
CASE_FLT_FN_FLOATN_NX (BUILT_IN_ACOS):
CASE_FLT_FN (BUILT_IN_ASIN):
CASE_FLT_FN_FLOATN_NX (BUILT_IN_ASIN):
- CASE_FLT_FN (BUILT_IN_ATAN):
- CASE_FLT_FN_FLOATN_NX (BUILT_IN_ATAN):
CASE_FLT_FN (BUILT_IN_COS):
CASE_FLT_FN_FLOATN_NX (BUILT_IN_COS):
CASE_FLT_FN (BUILT_IN_SIGNIFICAND):