summaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2009-09-20 15:39:22 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2009-09-20 15:39:22 +0000
commitca75b926331a12b6323284f80617a6fe3afa1e38 (patch)
tree659746d75cac0bc57cdf3050c02e53c1fd81275e /gcc/real.h
parentc4a80a2df36df59ceedcd1236dea299cba12349f (diff)
re PR middle-end/30789 (complex folding inexact)
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. From-SVN: r151904
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h2
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