[patch, libgfortran] Bug 57822 - I/O: "(g0)" wrongly prints "E+0000"

Jerry DeLisle jvdelisle@charter.net
Wed Feb 11 05:16:00 GMT 2015


On 02/08/2015 05:10 PM, Jerry DeLisle wrote:
> The attached patch fixes this by checking for the case when we are doing g0
> editing and the exponent is 0.
>
> Regression tested on X86-64.  For the larger kinds, we are on a different code
> path out of necessity, so we need to address this corner case.
>

I committed this followup to correct an omission I made.

Sending        ChangeLog
Sending        io/write_float.def
Transmitting file data ..
Committed revision 220606.

2015-02-10 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/57822
	* io/write_float.def (output_float): Apply fix of previous patch
	to correctly calculate the exponent number of digits and take
	care of wide character output.



More information about the Fortran mailing list