OSDN Git Service

2008-12-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Dec 2008 21:23:52 +0000 (21:23 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Dec 2008 21:23:52 +0000 (21:23 +0000)
commit4749905db26b07ca790a968c41f7e080f9c0dbd2
treea2782d026ced11088ac3bddad90c020959504cdf
parent7133c3fde2b5fabad1d09481e852154a496543ae
2008-12-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/38398
* io/io.h (st_parameter_dt): Add new bit to keep track of when to
suppress blanks for g0 formatting.
* io/transfer.c (formatted_transfer_scalar): Always call write_real_g0
for g0 formatting.
* io.c (write.c): Do not use ES formatting and use new bit to suppress
blanks.
* io/write_float.def (output_float): Adjust the location of setting the
width so that it can be adjusted when suppressing blanks.  Set number of
blanks to zero when dtp->u.p.g0_no_blanks is set. Do some minor code
clean-up and add some white space for readability.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142871 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/transfer.c
libgfortran/io/write.c
libgfortran/io/write_float.def