This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]