This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix NEAREST for float formats without infinity
On Mon, Mar 30, 2009 at 07:39:58PM +0200, Ulrich Weigand wrote:
> 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?
>
Yes. Please wait until after the release unless you can
convince RM to let you apply the patch prior to release.
--
Steve