Re: [PATCH committed] Fix build failure with MPFR 2.4.x (gimple-ssa-sprintf.c)

2017-01-27 Thread Joseph Myers
On Fri, 27 Jan 2017, Rainer Orth wrote: > > This was changed once before for this reason (in r240350). I forgot > > all about it and put it back in my latest patch for some reason. I > > don't remember why exactly but I suspect I might have been trying to > > overcome some MPFR oddity. It might

Re: [PATCH committed] Fix build failure with MPFR 2.4.x (gimple-ssa-sprintf.c)

2017-01-27 Thread Richard Biener
On Fri, 27 Jan 2017, Jakub Jelinek wrote: > On Fri, Jan 27, 2017 at 08:41:59AM +0100, Rainer Orth wrote: > > > On 01/24/2017 02:37 AM, Markus Trippelsdorf wrote: > > >> MPFR_RNDx was introduced in MPFR 3.0.0. Since the minimal version that > > >> gcc checks for is 2.4.0, this leads to a build fail

Re: [PATCH committed] Fix build failure with MPFR 2.4.x (gimple-ssa-sprintf.c)

2017-01-27 Thread Rainer Orth
Hi Jakub, > On Fri, Jan 27, 2017 at 08:41:59AM +0100, Rainer Orth wrote: >> > On 01/24/2017 02:37 AM, Markus Trippelsdorf wrote: >> >> MPFR_RNDx was introduced in MPFR 3.0.0. Since the minimal version that >> >> gcc checks for is 2.4.0, this leads to a build failure. >> >> >> >> The fix is straigh

Re: [PATCH committed] Fix build failure with MPFR 2.4.x (gimple-ssa-sprintf.c)

2017-01-27 Thread Jakub Jelinek
On Fri, Jan 27, 2017 at 08:41:59AM +0100, Rainer Orth wrote: > > On 01/24/2017 02:37 AM, Markus Trippelsdorf wrote: > >> MPFR_RNDx was introduced in MPFR 3.0.0. Since the minimal version that > >> gcc checks for is 2.4.0, this leads to a build failure. > >> > >> The fix is straightforward. > >> > >

Re: [PATCH committed] Fix build failure with MPFR 2.4.x (gimple-ssa-sprintf.c)

2017-01-27 Thread Markus Trippelsdorf
On 2017.01.27 at 08:41 +0100, Rainer Orth wrote: > Hi Martin, > > > On 01/24/2017 02:37 AM, Markus Trippelsdorf wrote: > >> MPFR_RNDx was introduced in MPFR 3.0.0. Since the minimal version that > >> gcc checks for is 2.4.0, this leads to a build failure. > >> > >> The fix is straightforward. > >>

Re: [PATCH committed] Fix build failure with MPFR 2.4.x (gimple-ssa-sprintf.c)

2017-01-26 Thread Rainer Orth
Hi Martin, > On 01/24/2017 02:37 AM, Markus Trippelsdorf wrote: >> MPFR_RNDx was introduced in MPFR 3.0.0. Since the minimal version that >> gcc checks for is 2.4.0, this leads to a build failure. >> >> The fix is straightforward. >> >> Tested on x86_64-pc-linux-gnu. Committed to trunk as obvious.

Re: [PATCH committed] Fix build failure with MPFR 2.4.x (gimple-ssa-sprintf.c)

2017-01-24 Thread Martin Sebor
On 01/24/2017 02:37 AM, Markus Trippelsdorf wrote: MPFR_RNDx was introduced in MPFR 3.0.0. Since the minimal version that gcc checks for is 2.4.0, this leads to a build failure. The fix is straightforward. Tested on x86_64-pc-linux-gnu. Committed to trunk as obvious. * gimple-ssa-sprin

[PATCH committed] Fix build failure with MPFR 2.4.x (gimple-ssa-sprintf.c)

2017-01-24 Thread Markus Trippelsdorf
MPFR_RNDx was introduced in MPFR 3.0.0. Since the minimal version that gcc checks for is 2.4.0, this leads to a build failure. The fix is straightforward. Tested on x86_64-pc-linux-gnu. Committed to trunk as obvious. * gimple-ssa-sprintf.c (format_floating): Change MPFR_RNDx to