PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0
authorTobias Burnus <burnus@gcc.gnu.org>
Wed, 27 Nov 2019 09:16:24 +0000 (10:16 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 27 Nov 2019 09:16:24 +0000 (10:16 +0100)
commit90ca6847bbd0c7b2debb5a985d7f49e464f68577
tree77faad3e0aaed75d74d5c9bba0e0f93db909089f
parent1f9fae28095488a9accd1e7688116ed4d145b03f
PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0

        PR middle-end/92463
        * configure.ac: Use MPFR_RNDN instead of GMP's MP_RNDN.
        * configure: Regenerate

        gcc/
        PR middle-end/92463
        * builtins.c (do_mpfr_ckconv, do_mpc_ckconv, do_mpfr_remquo,
        do_mpfr_lgamma_r, do_mpc_arg2): Use MPFR_RNDx instead of GMP_RNDx,
        mpfr_rnd_t instead of mp_rnd_t.
        * fold-const-call.c (do_mpfr_ckconv, do_mpfr_arg1, do_mpfr_sincos,
        do_mpfr_arg2, do_mpfr_arg3, do_mpc_arg1, do_mpc_arg2): Likewise.
        * gimple-ssa-sprintf.c (format_floating_max, format_floating):
        Use mpfr_exp_t instead of mp_exp_t.
        * real.c (real_from_string, dconst_e_ptr, dconst_sqrt2_ptr): Use
        MPFR_RNDx instead of GMP_RNDx.
        * realmpfr.c (real_from_mpfr, mpfr_from_real): Use mpfr_rnd_t and
        mpfr_exp_t instead mp_rnd_t and mp_exp_t, respectively.
        * realmpfr.h (real_from_mpfr, mpfr_from_real): Use mpfr_rnd_t instead
        of mp_rnd_t and remove MPFR_RNDx poisoning.
        * ubsan.c (ubsan_instrument_float_cast): MPFR_RNDx instead of GMP_RNDx.

        fortran/
        PR middle-end/92463
        * arith.c (gfc_check_real_range): Replace mp_exp_t by mpfr_exp_t.

From-SVN: r278761
13 files changed:
ChangeLog
configure
configure.ac
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const-call.c
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/gimple-ssa-sprintf.c
gcc/real.c
gcc/realmpfr.c
gcc/realmpfr.h
gcc/ubsan.c