public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/15413] New: List directed output does not print leading blank
@ 2004-05-13 14:34 lei at il dot ibm dot com
  2004-05-13 15:14 ` [Bug libfortran/15413] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: lei at il dot ibm dot com @ 2004-05-13 14:34 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/15413] List directed output does not print leading blank
  2004-05-13 14:34 [Bug libfortran/15413] New: List directed output does not print leading blank lei at il dot ibm dot com
@ 2004-05-13 15:14 ` pinskia at gcc dot gnu dot org
  2004-05-13 22:42 ` bdavis9659 at comcast dot net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13 15:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-13 11:06 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-13 11:06:08
               date|                            |
            Version|tree-ssa                    |3.5.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/15413] List directed output does not print leading blank
  2004-05-13 14:34 [Bug libfortran/15413] New: List directed output does not print leading blank lei at il dot ibm dot com
  2004-05-13 15:14 ` [Bug libfortran/15413] " pinskia at gcc dot gnu dot org
@ 2004-05-13 22:42 ` bdavis9659 at comcast dot net
  2004-05-14 15:54 ` pinskia at gcc dot gnu dot org
  2004-05-17  1:32 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-05-13 22:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis9659 at comcast dot net  2004-05-13 12:20 -------
Section 10.9.2 (F2003) List-directed output states that "each output record
begins with a blank character".

So, i agree. gfortran is non-conforming and this should be fixed !



-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/15413] List directed output does not print leading blank
  2004-05-13 14:34 [Bug libfortran/15413] New: List directed output does not print leading blank lei at il dot ibm dot com
  2004-05-13 15:14 ` [Bug libfortran/15413] " pinskia at gcc dot gnu dot org
  2004-05-13 22:42 ` bdavis9659 at comcast dot net
@ 2004-05-14 15:54 ` pinskia at gcc dot gnu dot org
  2004-05-17  1:32 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-14 15:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-13 22:06 -------
Patch Here: <http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00789.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
   Target Milestone|---                         |3.5.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/15413] List directed output does not print leading blank
  2004-05-13 14:34 [Bug libfortran/15413] New: List directed output does not print leading blank lei at il dot ibm dot com
                   ` (2 preceding siblings ...)
  2004-05-14 15:54 ` pinskia at gcc dot gnu dot org
@ 2004-05-17  1:32 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-17  1:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-16 14:22 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-16 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-13 14:34 [Bug libfortran/15413] New: List directed output does not print leading blank lei at il dot ibm dot com
2004-05-13 15:14 ` [Bug libfortran/15413] " pinskia at gcc dot gnu dot org
2004-05-13 22:42 ` bdavis9659 at comcast dot net
2004-05-14 15:54 ` pinskia at gcc dot gnu dot org
2004-05-17  1:32 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).