[patch, libgfortran] PR32611 Print sign of negative zero
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Jul 9 05:49:00 GMT 2007
On Sun, Jul 08, 2007 at 10:34:14PM -0700, Jerry DeLisle wrote:
>
> 2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR libgfortran/32611
> * io/write.c (output_float): Use the sign bit of the value to
> determine
> if a negative sign should be emitted for zero values. Do not emit
> the
> negative sign for zero if -std=legacy was set during compile.
>
> 2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR libgfortran/32611
> * gfortran.dg/large_real_kind_1.f90: Update test.
> * gfortran.dg/pr17706.f90: Update test.
> * gfortran.dg/fmt_zero_digits.f90: Update test.
> * gfortran.dg/fmt_zero_precision.f90: Update test.
> * gfortran.dg/real_const_3.f90: Update test.
The patch looks ok to me. But, you may want to see how the discussion
on c.l.f goes before making a final decision.
--
Steve
More information about the Fortran
mailing list