https://gcc.gnu.org/g:0606d2b979f4014b1dd6a1e6b030630ec5586fd3
commit r16-1652-g0606d2b979f4014b1dd6a1e6b030630ec5586fd3 Author: Yuao Ma <c...@outlook.com> Date: Tue Jun 24 00:06:16 2025 +0800 gcc: remove atan from edom_only_function 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 <c...@outlook.com> Diff: --- gcc/tree-call-cdce.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/tree-call-cdce.cc b/gcc/tree-call-cdce.cc index 9ca5fda5126d..712ec7c8920d 100644 --- a/gcc/tree-call-cdce.cc +++ b/gcc/tree-call-cdce.cc @@ -353,8 +353,6 @@ edom_only_function (gcall *call) 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):