aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2009-10-14 01:14:53 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2009-10-14 01:14:53 +0000
commit7610abd8cbb3c9f75a88b90196e9bb207aff09db (patch)
treeef482df1dbca9c07d51e39903d45c94ad89f9fc5 /gcc/real.h
parent1cc245760cde1a2488b2e4e4d892cdeeb07a4d7f (diff)
downloadgcc-7610abd8cbb3c9f75a88b90196e9bb207aff09db.zip
gcc-7610abd8cbb3c9f75a88b90196e9bb207aff09db.tar.gz
gcc-7610abd8cbb3c9f75a88b90196e9bb207aff09db.tar.bz2
builtins.c (fold_builtin_1): Support complex "arc" functions.
* builtins.c (fold_builtin_1): Support complex "arc" functions. * real.h (HAVE_mpc_arc): Define. testsuite: * gcc.dg/torture/builtin-math-6.c: Test complex "arc" functions. * lib/target-supports.exp (check_effective_target_mpc_arc): New. From-SVN: r152746
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h
index e72723e..e1fd3b0 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -32,6 +32,9 @@ extern tree do_mpc_arg2 (tree, tree, tree, int, int (*)(mpc_ptr, mpc_srcptr, mpc
# if MPC_VERSION >= MPC_VERSION_NUM(0,6,1)
# define HAVE_mpc_pow
# endif
+# if MPC_VERSION >= MPC_VERSION_NUM(0,7,1)
+# define HAVE_mpc_arc
+# endif
#endif
#endif
#include "machmode.h"