diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-14 01:14:53 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-14 01:14:53 +0000 |
commit | 0e7e6e7f09cfa794f137dc97556052a7f27a3f48 (patch) | |
tree | ef482df1dbca9c07d51e39903d45c94ad89f9fc5 /gcc/real.h | |
parent | 3213bdbf724306805f244b9200902e9197848113 (diff) | |
download | gcc-0e7e6e7f09cfa794f137dc97556052a7f27a3f48.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r-- | gcc/real.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h index e72723e01ea..e1fd3b07f60 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" |