On Tue, Jul 14, 2015 at 10:20 PM, Steve Kargl <s...@troutmask.apl.washington.edu> wrote: > The attached patch fixes an issue in the constant > folding of FLOOR(). In the old code, the precision > of an temporary MPFR variable was set according to > the requested kind of the INTEGER result, ie., the > wrong precision. The patch sets the precision to > the precision of the arg of FLOOR(). Regression > tested on trunk. OK to commit. > > 2015-07-14 Steven G. Kargl <ka...@gcc.gnu.org> > > * simplify.c (gfc_simplify_floor): Set precision of temporary to > that of arg. > > 2015-07-14 Steven G. Kargl <ka...@gcc.gnu.org> > > gfortran.dg/pr66864.f90: New test. > > > -- > Steve
Ok, thanks. -- Janne Blomqvist