diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2009-09-20 15:39:22 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2009-09-20 15:39:22 +0000 |
commit | ca75b926331a12b6323284f80617a6fe3afa1e38 (patch) | |
tree | 659746d75cac0bc57cdf3050c02e53c1fd81275e /gcc/real.h | |
parent | c4a80a2df36df59ceedcd1236dea299cba12349f (diff) | |
download | gcc-ca75b926331a12b6323284f80617a6fe3afa1e38.zip gcc-ca75b926331a12b6323284f80617a6fe3afa1e38.tar.gz gcc-ca75b926331a12b6323284f80617a6fe3afa1e38.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |