public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/20037] New: libfortran: format termination bug in formatted write
@ 2005-02-18  1:01 anlauf at hep dot tu-darmstadt dot de
  2005-02-18 16:49 ` [Bug libfortran/20037] " Thomas dot Koenig at online dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: anlauf at hep dot tu-darmstadt dot de @ 2005-02-18  1:01 UTC (permalink / raw)
  To: gcc-bugs

Hi,

gfortran does not properly terminate the I/O list in the following example:

! format termination problem: gfortran prints a superfluous parenthesis
!
character (len=*), parameter :: fmt = '(2(1x,"(",f7.2,",",f7.2,")",:))'
write (*,fmt) 1.0, 2.0
end


% gfortran && ./a.out
 (   1.00,   2.00) (

The final parenthesis should not be printed.

Cheers,
-ha

-- 
           Summary: libfortran: format termination bug in formatted write
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at hep dot tu-darmstadt dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2005-03-25  7:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-18  1:01 [Bug libfortran/20037] New: libfortran: format termination bug in formatted write anlauf at hep dot tu-darmstadt dot de
2005-02-18 16:49 ` [Bug libfortran/20037] " Thomas dot Koenig at online dot de
2005-02-22 10:40 ` pinskia at gcc dot gnu dot org
2005-03-24 22:23 ` fxcoudert at gcc dot gnu dot org
2005-03-25  7:07 ` fxcoudert 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).