This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, libgfortran] PR32611 Print sign of negative zero


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]