public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly
@ 2004-05-06 22:00 Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-06 22:35 ` [Bug fortran/15332] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Tobias dot Schlueter at physik dot uni-muenchen dot de @ 2004-05-06 22:00 UTC (permalink / raw)
  To: gcc-bugs

This program:
	i = 0; j = 1
	WRITE(*,100) i, j
	WRITE(*,100) i
 100    FORMAT("i =",i2,:,", j =",i2)
	END
should print:
i = 0, j = 1
i = 0
but it does print
i = 0, j = 1
i = 0, j =
instead, i.e. output doesn't stop after the colon edit descriptor. Most
interestingly fixing the apparent bug WRT this in format.c didn't help, even
though the code transfer.c triggers after this fix. I'm recording this here, so
that someone else can look at it, and so that I don't forget.

-- 
           Summary: [gfortran] colon edit descriptor not handled correctly
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Tobias dot Schlueter at physik dot uni-muenchen dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/15332] [gfortran] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
@ 2004-05-06 22:35 ` pinskia at gcc dot gnu dot org
  2004-05-16 23:15 ` tobi at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-06 22:35 UTC (permalink / raw)
  To: gcc-bugs


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-06 22:35:41
               date|                            |
   Target Milestone|---                         |tree-ssa


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


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

* [Bug fortran/15332] [gfortran] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-06 22:35 ` [Bug fortran/15332] " pinskia at gcc dot gnu dot org
@ 2004-05-16 23:15 ` tobi at gcc dot gnu dot org
  2004-05-27  3:56 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-05-16 23:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-05-15 22:10 -------
(In reply to comment #0)
> Most
> interestingly fixing the apparent bug WRT this in format.c didn't help, even
> though the code transfer.c triggers after this fix. 

I don't remember what the "apparent bug WRT" was, and I can't find it. Possibly
I just hallucinated when writing this.



-- 


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


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

* [Bug fortran/15332] [gfortran] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
  2004-05-06 22:35 ` [Bug fortran/15332] " pinskia at gcc dot gnu dot org
  2004-05-16 23:15 ` tobi at gcc dot gnu dot org
@ 2004-05-27  3:56 ` pinskia at gcc dot gnu dot org
  2005-01-06 14:40 ` [Bug libfortran/15332] " tobi at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-27  3:56 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug libfortran/15332] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (2 preceding siblings ...)
  2004-05-27  3:56 ` pinskia at gcc dot gnu dot org
@ 2005-01-06 14:40 ` tobi at gcc dot gnu dot org
  2005-03-24 22:22 ` fxcoudert at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-01-06 14:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |19292
              nThis|                            |


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


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

* [Bug libfortran/15332] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (3 preceding siblings ...)
  2005-01-06 14:40 ` [Bug libfortran/15332] " tobi at gcc dot gnu dot org
@ 2005-03-24 22:22 ` fxcoudert at gcc dot gnu dot org
  2005-03-24 22:23 ` fxcoudert at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-03-24 22:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at hep dot tu-
                   |                            |darmstadt dot de
   Last reconfirmed|2004-12-15 04:44:11         |2005-03-24 22:22:54
               date|                            |


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


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

* [Bug libfortran/15332] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (4 preceding siblings ...)
  2005-03-24 22:22 ` fxcoudert at gcc dot gnu dot org
@ 2005-03-24 22:23 ` fxcoudert at gcc dot gnu dot org
  2005-03-24 23:22 ` fxcoudert at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ 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 -------
*** Bug 20037 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug libfortran/15332] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (5 preceding siblings ...)
  2005-03-24 22:23 ` fxcoudert at gcc dot gnu dot org
@ 2005-03-24 23:22 ` fxcoudert at gcc dot gnu dot org
  2005-03-25  0:25 ` fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-03-24 23:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-03-24 22:22:54         |2005-03-24 23:22:20
               date|                            |


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


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

* [Bug libfortran/15332] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (6 preceding siblings ...)
  2005-03-24 23:22 ` fxcoudert at gcc dot gnu dot org
@ 2005-03-25  0:25 ` fxcoudert at gcc dot gnu dot org
  2005-03-25  7:04 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-03-25  0:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-03-25 00:25 -------
Patch here: http://gcc.gnu.org/ml/fortran/2005-03/msg00428.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug libfortran/15332] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (8 preceding siblings ...)
  2005-03-25  7:04 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-25  7:04 ` cvs-commit at gcc dot gnu dot org
  2005-03-25  7:07 ` fxcoudert at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-25  7:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-25 07:04 -------
Subject: Bug 15332

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	fxcoudert@gcc.gnu.org	2005-03-25 07:04:10

Modified files:
	gcc/testsuite  : ChangeLog 
	libgfortran    : ChangeLog 
	libgfortran/io : format.c 
Added files:
	gcc/testsuite/gfortran.dg: pr15332.f 

Log message:
	PR libfortran/15332
	
	* io/format.c (parse_format_list): format node for colon edit
	descriptor needs a repeat counter set to 1.
	
	* gfortran.dg/pr15332.f: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.67&r2=1.5084.2.68
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr15332.f.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.163.2.9&r2=1.163.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/format.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.9&r2=1.9.12.1



-- 


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


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

* [Bug libfortran/15332] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (7 preceding siblings ...)
  2005-03-25  0:25 ` fxcoudert at gcc dot gnu dot org
@ 2005-03-25  7:04 ` cvs-commit at gcc dot gnu dot org
  2005-03-25  7:04 ` cvs-commit at gcc dot gnu dot org
  2005-03-25  7:07 ` fxcoudert at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-25  7:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-25 07:04 -------
Subject: Bug 15332

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	fxcoudert@gcc.gnu.org	2005-03-25 07:04:27

Modified files:
	gcc/testsuite  : ChangeLog 
	libgfortran    : ChangeLog 
	libgfortran/io : format.c 
Added files:
	gcc/testsuite/gfortran.dg: pr15332.f 

Log message:
	PR libfortran/15332
	
	* io/format.c (parse_format_list): format node for colon edit
	descriptor needs a repeat counter set to 1.
	
	* gfortran.dg/pr15332.f: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5214&r2=1.5215
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr15332.f.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.176&r2=1.177
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/format.c.diff?cvsroot=gcc&r1=1.9&r2=1.10



-- 


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


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

* [Bug libfortran/15332] colon edit descriptor not handled correctly
  2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
                   ` (9 preceding siblings ...)
  2005-03-25  7:04 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-25  7:07 ` fxcoudert at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-03-25  7:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-03-25 07:07 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06 22:00 [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly Tobias dot Schlueter at physik dot uni-muenchen dot de
2004-05-06 22:35 ` [Bug fortran/15332] " pinskia at gcc dot gnu dot org
2004-05-16 23:15 ` tobi at gcc dot gnu dot org
2004-05-27  3:56 ` pinskia at gcc dot gnu dot org
2005-01-06 14:40 ` [Bug libfortran/15332] " tobi at gcc dot gnu dot org
2005-03-24 22:22 ` fxcoudert at gcc dot gnu dot org
2005-03-24 22:23 ` fxcoudert at gcc dot gnu dot org
2005-03-24 23:22 ` fxcoudert at gcc dot gnu dot org
2005-03-25  0:25 ` fxcoudert at gcc dot gnu dot org
2005-03-25  7:04 ` cvs-commit at gcc dot gnu dot org
2005-03-25  7:04 ` cvs-commit 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).