diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-20 15:39:22 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-20 15:39:22 +0000 |
commit | 652d9409a2480187eb77ca0ae3547b00a7c8d16d (patch) | |
tree | 659746d75cac0bc57cdf3050c02e53c1fd81275e /gcc/real.h | |
parent | 252a5c7fea110910d30d0ca0201d12cf01f9e4f8 (diff) | |
download | gcc-652d9409a2480187eb77ca0ae3547b00a7c8d16d.tar.gz |
PR middle-end/30789
* builtins.c (do_mpc_arg2): Accept DO_NONFINITE parameter.
(do_mpc_ckconv): Accept FORCE_CONVERT parameter.
(fold_builtin_2, do_mpc_arg1): Update accordingly.
* fold-const.c (const_binop): Likewise.
* real.h (do_mpc_arg2): Update prototype.
testsuite:
* gcc.dg/torture/builtin-math-7.c: Update for testing Annex G
cases in static initializers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151904 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r-- | gcc/real.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/real.h b/gcc/real.h index c93435b2524..e72723e01ea 100644 --- a/gcc/real.h +++ b/gcc/real.h @@ -27,7 +27,7 @@ #ifdef HAVE_mpc #include <mpc.h> # ifdef HAVE_mpc -extern tree do_mpc_arg2 (tree, tree, tree, int (*)(mpc_ptr, mpc_srcptr, mpc_srcptr, mpc_rnd_t)); +extern tree do_mpc_arg2 (tree, tree, tree, int, int (*)(mpc_ptr, mpc_srcptr, mpc_srcptr, mpc_rnd_t)); # endif # if MPC_VERSION >= MPC_VERSION_NUM(0,6,1) # define HAVE_mpc_pow |