public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31395]  New: Colon edit descriptor is ignored unless preceded by a comma or a slash
@ 2007-03-29 18:55 michael dot a dot richmond at nasa dot gov
  2007-03-31 22:02 ` [Bug fortran/31395] " burnus at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: michael dot a dot richmond at nasa dot gov @ 2007-03-29 18:55 UTC (permalink / raw)
  To: gcc-bugs

When run the following program:

PROGRAM test
INTEGER :: i = 1
WRITE(*, 10) i
10 FORMAT('i =',I2:,' this should not print')
END PROGRAM test

It prints:

i = 1 this should not print

If I insert a comma or a slash between "I2" and ":" it will work correctly.


-- 
           Summary: Colon edit descriptor is ignored unless preceded by a
                    comma or a slash
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


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


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

* [Bug fortran/31395] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
@ 2007-03-31 22:02 ` burnus at gcc dot gnu dot org
  2007-04-03 13:53 ` jvdelisle at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-03-31 22:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2007-03-31 23:01 -------
Confirmed:

"C1002 (R1002) The comma used to separate format-items in a format-item-list
may be omitted [...]
(4) Before or after a colon edit descriptor (10.7.3)"


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-31 23:01:58
               date|                            |


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


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

* [Bug fortran/31395] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
  2007-03-31 22:02 ` [Bug fortran/31395] " burnus at gcc dot gnu dot org
@ 2007-04-03 13:53 ` jvdelisle at gcc dot gnu dot org
  2007-04-06  6:25 ` patchapp at dberlin dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-04-03 13:53 UTC (permalink / raw)
  To: gcc-bugs



-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jvdelisle at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-03-31 23:01:58         |2007-04-03 14:52:43
               date|                            |


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


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

* [Bug fortran/31395] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
  2007-03-31 22:02 ` [Bug fortran/31395] " burnus at gcc dot gnu dot org
  2007-04-03 13:53 ` jvdelisle at gcc dot gnu dot org
@ 2007-04-06  6:25 ` patchapp at dberlin dot org
  2007-04-06 15:39 ` jvdelisle at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: patchapp at dberlin dot org @ 2007-04-06  6:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from patchapp at dberlin dot org  2007-04-06 07:25 -------
Subject: Bug number PR31395

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00229.html


-- 


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


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

* [Bug fortran/31395] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
                   ` (2 preceding siblings ...)
  2007-04-06  6:25 ` patchapp at dberlin dot org
@ 2007-04-06 15:39 ` jvdelisle at gcc dot gnu dot org
  2007-04-06 15:42 ` jvdelisle at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-04-06 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2007-04-06 16:39 -------
Subject: Bug 31395

Author: jvdelisle
Date: Fri Apr  6 16:39:02 2007
New Revision: 123620

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123620
Log:
2007-04-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/31395
        * io/format.c (parse_format_list): Fix parsing.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/format.c


-- 


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


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

* [Bug fortran/31395] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
                   ` (3 preceding siblings ...)
  2007-04-06 15:39 ` jvdelisle at gcc dot gnu dot org
@ 2007-04-06 15:42 ` jvdelisle at gcc dot gnu dot org
  2007-04-06 15:44 ` [Bug fortran/31395] [4.2 Only] " jvdelisle at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-04-06 15:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jvdelisle at gcc dot gnu dot org  2007-04-06 16:42 -------
Subject: Bug 31395

Author: jvdelisle
Date: Fri Apr  6 16:42:26 2007
New Revision: 123621

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123621
Log:
2007-04-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/31395
        * gfortran.dg/fmt_colon.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/fmt_colon.f90
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug fortran/31395] [4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
                   ` (4 preceding siblings ...)
  2007-04-06 15:42 ` jvdelisle at gcc dot gnu dot org
@ 2007-04-06 15:44 ` jvdelisle at gcc dot gnu dot org
  2007-05-21  0:05 ` jvdelisle at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-04-06 15:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jvdelisle at gcc dot gnu dot org  2007-04-06 16:44 -------
Fixed on trunk, may backport to 4.2.1


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Colon edit descriptor is    |[4.2 Only] Colon edit
                   |ignored unless preceded by a|descriptor is ignored unless
                   |comma or a slash            |preceded by a comma or a
                   |                            |slash
   Target Milestone|---                         |4.2.1


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


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

* [Bug fortran/31395] [4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
                   ` (5 preceding siblings ...)
  2007-04-06 15:44 ` [Bug fortran/31395] [4.2 Only] " jvdelisle at gcc dot gnu dot org
@ 2007-05-21  0:05 ` jvdelisle at gcc dot gnu dot org
  2007-05-21  0:07 ` jvdelisle at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-05-21  0:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jvdelisle at gcc dot gnu dot org  2007-05-21 01:05 -------
Subject: Bug 31395

Author: jvdelisle
Date: Mon May 21 00:04:43 2007
New Revision: 124886

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124886
Log:
2007-05-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/31395
        * io/format.c (parse_format_list): Fix parsing. Regression against g77.
        Backport from 4.3.

Modified:
    branches/gcc-4_2-branch/libgfortran/ChangeLog
    branches/gcc-4_2-branch/libgfortran/io/format.c


-- 


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


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

* [Bug fortran/31395] [4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
                   ` (6 preceding siblings ...)
  2007-05-21  0:05 ` jvdelisle at gcc dot gnu dot org
@ 2007-05-21  0:07 ` jvdelisle at gcc dot gnu dot org
  2007-05-21  0:08 ` jvdelisle at gcc dot gnu dot org
  2007-06-06  5:33 ` jvdelisle at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-05-21  0:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jvdelisle at gcc dot gnu dot org  2007-05-21 01:06 -------
Subject: Bug 31395

Author: jvdelisle
Date: Mon May 21 00:06:46 2007
New Revision: 124887

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124887
Log:
2007-05-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/31395
        * gfortran.dg/fmt_colon.f90: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/fmt_colon.f90
Modified:
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug fortran/31395] [4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
                   ` (7 preceding siblings ...)
  2007-05-21  0:07 ` jvdelisle at gcc dot gnu dot org
@ 2007-05-21  0:08 ` jvdelisle at gcc dot gnu dot org
  2007-06-06  5:33 ` jvdelisle at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-05-21  0:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jvdelisle at gcc dot gnu dot org  2007-05-21 01:07 -------
Fixed on 4.2.1 and 4.3. Closing.


-- 

jvdelisle at gcc dot gnu dot org changed:

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


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


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

* [Bug fortran/31395] [4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash
  2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
                   ` (8 preceding siblings ...)
  2007-05-21  0:08 ` jvdelisle at gcc dot gnu dot org
@ 2007-06-06  5:33 ` jvdelisle at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-06-06  5:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jvdelisle at gcc dot gnu dot org  2007-06-06 05:33 -------
*** Bug 32228 has been marked as a duplicate of this bug. ***


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gah at ugcs dot caltech dot
                   |                            |edu


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


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

end of thread, other threads:[~2007-06-06  5:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-29 18:55 [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash michael dot a dot richmond at nasa dot gov
2007-03-31 22:02 ` [Bug fortran/31395] " burnus at gcc dot gnu dot org
2007-04-03 13:53 ` jvdelisle at gcc dot gnu dot org
2007-04-06  6:25 ` patchapp at dberlin dot org
2007-04-06 15:39 ` jvdelisle at gcc dot gnu dot org
2007-04-06 15:42 ` jvdelisle at gcc dot gnu dot org
2007-04-06 15:44 ` [Bug fortran/31395] [4.2 Only] " jvdelisle at gcc dot gnu dot org
2007-05-21  0:05 ` jvdelisle at gcc dot gnu dot org
2007-05-21  0:07 ` jvdelisle at gcc dot gnu dot org
2007-05-21  0:08 ` jvdelisle at gcc dot gnu dot org
2007-06-06  5:33 ` jvdelisle 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).