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 <jvdeli...@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.