re PR libfortran/77393 (Revision r237735 changed the behavior of F0.0)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 6 Sep 2016 23:22:26 +0000 (23:22 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 6 Sep 2016 23:22:26 +0000 (23:22 +0000)
commit5dcf68f510d9f02cbccb9355bc629a83c3c4cdb4
tree974e99bcdef6567e75b66f7e17b71216ef5bd746
parent6ac7322b3ece979c1adf381f7c6c7e421cf9922f
re PR libfortran/77393 (Revision r237735 changed the behavior of F0.0)

2016-09-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/77393
* io/write_float.def (build_float_string): Recognize when the
result will not fit in the user provided, star fill, and exit
early.

* gfortran.dg/fmt_f0_2.f90: Update test.
* gfortran.dg/fmt_f0_3.f90: New test.

From-SVN: r240018
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/fmt_f0_2.f90
gcc/testsuite/gfortran.dg/fmt_f0_3.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/write_float.def