re PR libfortran/39402 (gfortran 20090306: internal write of 0.0 with F0.3 gives **)

2009-03-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/39409
	* io/write_float.def (output_float): Handle F0.d formatting correctly
	for any d when value is 0.0.

From-SVN: r144718
This commit is contained in:
Jerry DeLisle 2009-03-09 04:47:51 +00:00
parent 18c95304c7
commit d53cb9ea60
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-03-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/39409
* io/write_float.def (output_float): Handle F0.d formatting correctly
for any d when value is 0.0.
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.

View File

@ -122,7 +122,7 @@ output_float (st_parameter_dt *dtp, const fnode *f, char *buffer, size_t size,
/* Handle special cases. */
if (w == 0)
w = 2;
w = d + 2;
/* For this one we choose to not output a decimal point.
F95 10.5.1.2.1 */