[Bug fortran/31190] New: minimum field width list-directed output

vivekrao4 at yahoo dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 15 18:59:00 GMT 2007


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



More information about the Gcc-bugs mailing list