[Bug libfortran/15413] New: List directed output does not print leading blank

lei at il dot ibm dot com gcc-bugzilla@gcc.gnu.org
Thu May 13 14:34:00 GMT 2004


Unlike what one would expect, PRINT*, "HELLO"  should print
SIX characters:  SPACE H E L L O

Currently the leading blank is not printed, which causes
miscompare on lucas benchmark.

I could not find this in the Standard, but other compilers
do so, and SPEC2000 benchmarks rely on this behavior for matching
the expected results.  I also checked this behavior with IBM XLF 
compiler -- same behavior.

-- 
           Summary: List directed output does not print leading blank
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lei at il dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15413



More information about the Gcc-bugs mailing list