public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/19216] New: formatted read with leading slash
@ 2005-01-01  3:38 bdavis at gcc dot gnu dot org
  2005-01-01  3:41 ` [Bug libfortran/19216] list directed " bdavis at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2005-01-01  3:38 UTC (permalink / raw)
  To: gcc-bugs

This is from FM923.FOR

$ cat b.f
       INTEGER J1I(3)
       DATA J1I / 3,2,1 /
       WRITE(20,'(A)')'/ 10 20 30'
       WRITE(20,'(A)')'1 2 3 4'
       WRITE(20,'(A)')'5 6 7 8'
       REWIND(20)
       READ(20,*) (J1I(IVI), IVI=1,3)
       PRINT*,(J1I(IVI), IVI=1,3)
       READ(20,*) I,J
       PRINT*,I,J
       READ(20,*) I,J
       PRINT*,I,J
       END
$ gfc b.f
$ ./a.out
           1           2           1
           5           6
At line 11 of file b.f
Fortran runtime error: End of file
$ g77 b.f
$ ./a.out
 3 2 1
 1 2
 5 6

$ gfc --version
GNU Fortran 95 (GCC 4.0.0 20050101 (experimental))

-- 
           Summary: formatted read with leading slash
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug libfortran/19216] list directed read with leading slash
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
@ 2005-01-01  3:41 ` bdavis at gcc dot gnu dot org
  2005-01-01  3:42 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2005-01-01  3:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|formatted read with leading |list directed read with
                   |slash                       |leading slash


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


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

* [Bug libfortran/19216] list directed read with leading slash
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
  2005-01-01  3:41 ` [Bug libfortran/19216] list directed " bdavis at gcc dot gnu dot org
@ 2005-01-01  3:42 ` pinskia at gcc dot gnu dot org
  2005-01-06 14:43 ` [Bug libfortran/19216] list directed read with leading slash (NIST FM923) tobi at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-01  3:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-01 03:42 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-01 03:42:09
               date|                            |


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
  2005-01-01  3:41 ` [Bug libfortran/19216] list directed " bdavis at gcc dot gnu dot org
  2005-01-01  3:42 ` pinskia at gcc dot gnu dot org
@ 2005-01-06 14:43 ` tobi at gcc dot gnu dot org
  2005-04-15  8:59 ` fxcoudert at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-01-06 14:43 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-01-06 14:43 ` [Bug libfortran/19216] list directed read with leading slash (NIST FM923) tobi at gcc dot gnu dot org
@ 2005-04-15  8:59 ` fxcoudert at gcc dot gnu dot org
  2005-04-18  7:05 ` cvs-commit at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-15  8:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-04-15 08:58 -------
Patch: http://gcc.gnu.org/ml/fortran/2005-03/msg00562.html

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


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-04-15  8:59 ` fxcoudert at gcc dot gnu dot org
@ 2005-04-18  7:05 ` cvs-commit at gcc dot gnu dot org
  2005-04-18  7:18 ` [Bug libfortran/19216] [4.0 only] " fxcoudert at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-18  7:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-18 07:05 -------
Subject: Bug 19216

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	fxcoudert@gcc.gnu.org	2005-04-18 07:05:28

Modified files:
	gcc/testsuite  : ChangeLog 

Log message:
	PR libfortran/19216
	* gfortran.dg/pr19216.f: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5362&r2=1.5363



-- 


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


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

* [Bug libfortran/19216] [4.0 only] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-04-18  7:05 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-18  7:18 ` fxcoudert at gcc dot gnu dot org
  2005-05-30 15:17 ` kargl at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-18  7:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-04-18 07:18 -------
This is fixed by Paul T. Richard's namelist patch, but there still is a testcase
(gfortran.dg/pr19216.f) to commit on 4.0 branch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2005-04-07 07:19:43         |2005-04-18 07:18:07
               date|                            |
            Summary|list directed read with     |[4.0 only] list directed
                   |leading slash (NIST FM923)  |read with leading slash
                   |                            |(NIST FM923)
            Version|4.0.0                       |4.0.1


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


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

* [Bug libfortran/19216] [4.0 only] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-04-18  7:18 ` [Bug libfortran/19216] [4.0 only] " fxcoudert at gcc dot gnu dot org
@ 2005-05-30 15:17 ` kargl at gcc dot gnu dot org
  2005-06-01 11:17 ` [Bug libfortran/19216] " fxcoudert at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-05-30 15:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kargl at gcc dot gnu dot org  2005-05-30 15:17 -------
FX,

Can you commit the testcase and close this PR?

steve

-- 


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-05-30 15:17 ` kargl at gcc dot gnu dot org
@ 2005-06-01 11:17 ` fxcoudert at gcc dot gnu dot org
  2005-06-02  5:45 ` fxcoudert at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-01 11:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-01 11:17 -------
This is more complex than I thought. It appears that:

  1. there is a typo (space missing in dg command) in the testcase

  2. when the typo is corrected and the testcase is really ran, it FAILs on both
mainline and 4.0

I'll be looking into this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
           Keywords|patch                       |
   Last reconfirmed|2005-04-18 07:18:07         |2005-06-01 11:17:25
               date|                            |
            Summary|[4.0 only] list directed    |list directed read with
                   |read with leading slash     |leading slash (NIST FM923)
                   |(NIST FM923)                |


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-06-01 11:17 ` [Bug libfortran/19216] " fxcoudert at gcc dot gnu dot org
@ 2005-06-02  5:45 ` fxcoudert at gcc dot gnu dot org
  2005-06-16 22:51 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-02  5:45 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |21875
              nThis|                            |


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-06-02  5:45 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-16 22:51 ` cvs-commit at gcc dot gnu dot org
  2005-06-16 23:01 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-16 22:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-16 22:51 -------
Subject: Bug 19216

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	fxcoudert@gcc.gnu.org	2005-06-16 22:50:51

Modified files:
	libgfortran    : ChangeLog 
	libgfortran/io : list_read.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gfortran.dg: pr19216.f 

Log message:
	PR libfortran/19216
	* io/list_read.c (eat_separator): No need to call next_record,
	even in non-namelist_mode.
	* gfortran.dg/pr19216.f: Add correct space between brackets and
	dg directive.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.244&r2=1.245
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/list_read.c.diff?cvsroot=gcc&r1=1.22&r2=1.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5644&r2=1.5645
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr19216.f.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-06-16 22:51 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-16 23:01 ` cvs-commit at gcc dot gnu dot org
  2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
  2005-06-18 23:19 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-16 23:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-16 23:01 -------
Subject: Bug 19216

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	fxcoudert@gcc.gnu.org	2005-06-16 23:00:41

Modified files:
	gcc/testsuite  : ChangeLog 
	libgfortran    : ChangeLog 
	libgfortran/io : list_read.c 
Added files:
	gcc/testsuite/gfortran.dg: pr19216.f 

Log message:
	PR libfortran/19216
	* io/list_read.c (eat_separator): No need to call next_record,
	even in non-namelist_mode.
	* gfortran.dg/pr19216.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.241&r2=1.5084.2.242
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr19216.f.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.2.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.53&r2=1.163.2.54
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/list_read.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.14.2.2&r2=1.14.2.3



-- 


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2005-06-16 23:01 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
  2005-06-18 23:19 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-16 23:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-16 23:03 -------
Fixed.

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


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


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

* [Bug libfortran/19216] list directed read with leading slash (NIST FM923)
  2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-18 23:19 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-18 23:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.1


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


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

end of thread, other threads:[~2005-06-18 23:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
2005-01-01  3:41 ` [Bug libfortran/19216] list directed " bdavis at gcc dot gnu dot org
2005-01-01  3:42 ` pinskia at gcc dot gnu dot org
2005-01-06 14:43 ` [Bug libfortran/19216] list directed read with leading slash (NIST FM923) tobi at gcc dot gnu dot org
2005-04-15  8:59 ` fxcoudert at gcc dot gnu dot org
2005-04-18  7:05 ` cvs-commit at gcc dot gnu dot org
2005-04-18  7:18 ` [Bug libfortran/19216] [4.0 only] " fxcoudert at gcc dot gnu dot org
2005-05-30 15:17 ` kargl at gcc dot gnu dot org
2005-06-01 11:17 ` [Bug libfortran/19216] " fxcoudert at gcc dot gnu dot org
2005-06-02  5:45 ` fxcoudert at gcc dot gnu dot org
2005-06-16 22:51 ` cvs-commit at gcc dot gnu dot org
2005-06-16 23:01 ` cvs-commit at gcc dot gnu dot org
2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
2005-06-18 23:19 ` 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).