re PR libfortran/17195 (Infinite loop in output_float in libgfortran/io/write.c)
authorPaul Brook <paul@codesourcery.com>
Sat, 28 Aug 2004 19:48:02 +0000 (19:48 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sat, 28 Aug 2004 19:48:02 +0000 (19:48 +0000)
commit7984a2f04bb29eff5850be9f99c2ef0f879c862a
tree0371510fa89dbbdbb79289c112c2ac3536729a99
parent39b8ce7f98a09a10142cfb3dd9bfe4636dd86d3d
re PR libfortran/17195 (Infinite loop in output_float in libgfortran/io/write.c)

PR libfortran/17195
* libgfortran.h (rtoa): Remove prototype.
* runtime/error.c (rtoa): Remove.
* io/write.c (calculate_G_format): Don't add blanks if E format is
used.  Add correct number of blanks when exponent width is specified.
(output_float): Rewrite.
testsuite/
* gfortran.dg/edit_real_1.f90: New test.

From-SVN: r86701
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/edit_real_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/write.c
libgfortran/libgfortran.h
libgfortran/runtime/error.c