Re: Add a build_real_truncate helper function

2015-10-02 Thread Richard Sandiford
Richard Biener writes: > On Thu, Oct 1, 2015 at 3:52 PM, Bernd Schmidt wrote: >> On 10/01/2015 03:48 PM, Richard Sandiford wrote: >>> >>> ...which simplifies the match.pd patterns I'm about to add. >>> >>> Bootstrapped & regression-tested on x86_64-linux-gnu. OK to install? >> >> >> Ok. > > I wo

Re: Add a build_real_truncate helper function

2015-10-02 Thread Richard Biener
On Thu, Oct 1, 2015 at 3:52 PM, Bernd Schmidt wrote: > On 10/01/2015 03:48 PM, Richard Sandiford wrote: >> >> ...which simplifies the match.pd patterns I'm about to add. >> >> Bootstrapped & regression-tested on x86_64-linux-gnu. OK to install? > > > Ok. I wonder if it's worth a separate functio

Re: Add a build_real_truncate helper function

2015-10-01 Thread Bernd Schmidt
On 10/01/2015 03:48 PM, Richard Sandiford wrote: ...which simplifies the match.pd patterns I'm about to add. Bootstrapped & regression-tested on x86_64-linux-gnu. OK to install? Ok. Bernd

Add a build_real_truncate helper function

2015-10-01 Thread Richard Sandiford
...which simplifies the match.pd patterns I'm about to add. Bootstrapped & regression-tested on x86_64-linux-gnu. OK to install? Thanks, Richard gcc/ * real.h (build_real_truncate): Declare. * real.c (build_real_truncate): New function. (strip_float_extensions): Use it.