This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/15413] New: List directed output does not print leading blank
- From: "lei at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 May 2004 07:48:14 -0000
- Subject: [Bug libfortran/15413] New: List directed output does not print leading blank
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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