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

* [Bug libfortran/20037] libfortran: format termination bug in formatted write
  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 ` Thomas dot Koenig at online dot de
  2005-02-22 10:40 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-02-18 16:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Thomas dot Koenig at online dot de  2005-02-18 10:42 -------
I think this is identical to PR 15332.

-- 


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


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

* [Bug libfortran/20037] libfortran: format termination bug in formatted write
  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
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-22 10:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-22 01:50 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |15332
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-22 01:50:12
               date|                            |


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


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

* [Bug libfortran/20037] libfortran: format termination bug in formatted write
  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
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-03-24 22:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-03-24 22:23 -------
I do agree with Thomas. This is a duplicate of PR 15332.

*** This bug has been marked as a duplicate of 15332 ***

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


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


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

* [Bug libfortran/20037] libfortran: format termination bug in formatted write
  2005-02-18  1:01 [Bug libfortran/20037] New: libfortran: format termination bug in formatted write anlauf at hep dot tu-darmstadt dot de
                   ` (2 preceding siblings ...)
  2005-03-24 22:23 ` fxcoudert at gcc dot gnu dot org
@ 2005-03-25  7:07 ` fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-03-25  7:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 20037 depends on bug 15332, which changed state.

Bug 15332 Summary: colon edit descriptor not handled correctly
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15332

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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).