[patch, fortran] Fix NEAREST for float formats without infinity

Ulrich Weigand uweigand@de.ibm.com
Mon Mar 30 17:40:00 GMT 2009


Steve Kargl wrote:
> On Thu, Mar 26, 2009 at 03:54:50PM +0100, Ulrich Weigand wrote:
> > I guess you could consider this to be a regression: the in-line
> > expansion via gfc_conv_intrinsic_nearest was newly introduced
> > with GCC 4.4; for GCC 4.3, you'd always get a call to a libgfortran
> > library routine.
> > 
> > This has the effect that using NEAREST on gfortran 4.3 for the SPU
> > does *not* result in that warning, but with gfortran 4.4 it does.
> > 
> 
> Ulrich,
> 
> Please commit the patch to trunk.

I've committed the patch to trunk now, thanks!

Given that this is actually a regression in 4.4, would it be OK
to apply the patch to the 4.4 branch as well?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Fortran mailing list