re PR fortran/57822 (I/O: "(g0)" wrongly prints "E+0000")
2015-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/57822 * io/write_float.def (output_float): If doing g0 editing and exponent is zero, do not emit exponent. From-SVN: r220564
This commit is contained in:
parent
940652d50f
commit
94ce26f1b7
@ -1,3 +1,9 @@
|
|||||||
|
2015-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||||
|
|
||||||
|
PR libgfortran/57822
|
||||||
|
* io/write_float.def (output_float): If doing g0 editing and
|
||||||
|
exponent is zero, do not emit exponent.
|
||||||
|
|
||||||
2015-02-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
2015-02-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||||
|
|
||||||
PR libgfortran/60956
|
PR libgfortran/60956
|
||||||
|
@ -724,7 +724,7 @@ output_float (st_parameter_dt *dtp, const fnode *f, char *buffer, size_t size,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Output the exponent. */
|
/* Output the exponent. */
|
||||||
if (expchar)
|
if (expchar && !(dtp->u.p.g0_no_blanks && e == 0))
|
||||||
{
|
{
|
||||||
if (expchar != ' ')
|
if (expchar != ' ')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user