[Patch] PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0

Janne Blomqvist blomqvist.janne@gmail.com
Wed Nov 27 08:11:00 GMT 2019


On Tue, Nov 26, 2019 at 11:42 PM Tobias Burnus <tobias@codesourcery.com> wrote:
>
> Recently, Janne bumped the minimal MPFR version from 2.4 to 3.1. As a
> follow-up cleanup, the mp_ data types can now be changed to mpfr_ and
> GMP_RNDx rounding to MPFR_RNDx (with an additional MPFR_RNDA).
>
> This patch changes the types in the middle end and a left over from
> previous patch round in Fortran. However, I have not touched the MPFR
> users in GO.
>
> See https://www.mpfr.org/mpfr-3.0.0/#changes for the 2.4 to 3.0 changes.
> ("mp_rnd_t may be removed in the future").
>
> Bootstrapped and regtested on x86-64-gnu-linux.
> OK for the trunk?

Fortran part is obviously Ok (sorry I missed that one in my previous patch).

For realmpfr.h, should we additionally poison GMP_RNDx to make sure we
don't accidentally add back uses of it?

Rest of the patch looks Ok, though not being a global reviewer I can't
approve it.

-- 
Janne Blomqvist



More information about the Gcc-patches mailing list