This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31190] New: minimum field width list-directed output
- From: "vivekrao4 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2007 18:59:49 -0000
- Subject: [Bug fortran/31190] New: minimum field width list-directed output
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
A feature of g95 I find convenient is that
list-directed output is printed in the minimum amount
of space required, making it more readable IMO. For
example, for
print*,(i,i=1,6)
end
g95 gives
1 2 3 4 5 6
and gfortran gives
1 2 3 4 5 6
A compiler option that used a minimal width for output
for list directed WRITEs would be convenient.
I know that for fine control of output I should use
explicit formats such as i0 or f0.6, but for
quick-and-dirty output it's nice to have list-directed
WRITEs give very readable output.
Vivek Rao
--
Summary: minimum field width list-directed output
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: vivekrao4 at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31190