From ca75b926331a12b6323284f80617a6fe3afa1e38 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 20 Sep 2009 15:39:22 +0000 Subject: 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 --- gcc/real.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/real.h') 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 # 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 -- cgit v1.2.1