* [Bug fortran/40853] Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
@ 2009-07-24 21:05 ` david dot sagan at gmail dot com
2009-07-27 9:40 ` [Bug fortran/40853] I/O: " burnus at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: david dot sagan at gmail dot com @ 2009-07-24 21:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from david dot sagan at gmail dot com 2009-07-24 21:05 -------
Created an attachment (id=18250)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18250&action=view)
test.s file generated by the compile
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
2009-07-24 21:05 ` [Bug fortran/40853] " david dot sagan at gmail dot com
@ 2009-07-27 9:40 ` burnus at gcc dot gnu dot org
2009-07-28 2:00 ` jvdelisle at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-07-27 9:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from burnus at gcc dot gnu dot org 2009-07-27 09:40 -------
Confirmed. Fails with gfortran 4.1 to 4.5 and is thus no regression, but it
works with ifort, g95, openf95, and NAG f95.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |wrong-code
Known to fail| |4.1.3 4.2.1 4.3.3 4.4.1
| |4.5.0
Last reconfirmed|0000-00-00 00:00:00 |2009-07-27 09:40:04
date| |
Summary|Namelist read error |I/O: Namelist read error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
2009-07-24 21:05 ` [Bug fortran/40853] " david dot sagan at gmail dot com
2009-07-27 9:40 ` [Bug fortran/40853] I/O: " burnus at gcc dot gnu dot org
@ 2009-07-28 2:00 ` jvdelisle at gcc dot gnu dot org
2009-07-28 3:09 ` jvdelisle at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-07-28 2:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2009-07-28 02:00 -------
I will get started on this.
--
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|2009-07-27 09:40:04 |2009-07-28 02:00:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
` (2 preceding siblings ...)
2009-07-28 2:00 ` jvdelisle at gcc dot gnu dot org
@ 2009-07-28 3:09 ` jvdelisle at gcc dot gnu dot org
2009-07-29 4:40 ` jvdelisle at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-07-28 3:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jvdelisle at gcc dot gnu dot org 2009-07-28 03:09 -------
As a work-around, re-arranging the derived type like this:
type tao_plot_page_struct
real size(2)
real shape_height_max
type (tao_title_struct) title
end type
May help, until I get this sorted out.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
` (3 preceding siblings ...)
2009-07-28 3:09 ` jvdelisle at gcc dot gnu dot org
@ 2009-07-29 4:40 ` jvdelisle at gcc dot gnu dot org
2009-08-01 15:43 ` jvdelisle at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-07-29 4:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2009-07-29 04:40 -------
Created an attachment (id=18265)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18265&action=view)
A simple patch to resolve the problem
This patch solves the original test case. It does require modification of test
suite cases namelist_40.f90 and namelist_47.f90. With the patch, those two
test cases have a slightly modified error output.
Additional testing is always appreciated. I will prepare a submittal for
approval tomorrow.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
` (4 preceding siblings ...)
2009-07-29 4:40 ` jvdelisle at gcc dot gnu dot org
@ 2009-08-01 15:43 ` jvdelisle at gcc dot gnu dot org
2009-08-02 18:31 ` jvdelisle at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-01 15:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2009-08-01 15:42 -------
Patch submitted for approval:
http://gcc.gnu.org/ml/fortran/2009-08/msg00001.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
` (5 preceding siblings ...)
2009-08-01 15:43 ` jvdelisle at gcc dot gnu dot org
@ 2009-08-02 18:31 ` jvdelisle at gcc dot gnu dot org
2009-08-02 18:48 ` jvdelisle at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-02 18:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2009-08-02 18:31 -------
Subject: Bug 40853
Author: jvdelisle
Date: Sun Aug 2 18:31:07 2009
New Revision: 150356
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150356
Log:
2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40853
* io/list_read.c (nml_get_obj_data): Do not set nl
pointer to first_nl if nl->next is NULL.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
` (6 preceding siblings ...)
2009-08-02 18:31 ` jvdelisle at gcc dot gnu dot org
@ 2009-08-02 18:48 ` jvdelisle at gcc dot gnu dot org
2009-08-05 3:15 ` jvdelisle at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-02 18:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jvdelisle at gcc dot gnu dot org 2009-08-02 18:48 -------
Subject: Bug 40853
Author: jvdelisle
Date: Sun Aug 2 18:47:46 2009
New Revision: 150357
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150357
Log:
2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40853
* gfortran.dg/namelist_40.f90: Update error output.
* gfortran.dg/namelist_47.f90: Update error output.
* gfortran.dg/namelist_58.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/namelist_58.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/namelist_40.f90
trunk/gcc/testsuite/gfortran.dg/namelist_47.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
` (7 preceding siblings ...)
2009-08-02 18:48 ` jvdelisle at gcc dot gnu dot org
@ 2009-08-05 3:15 ` jvdelisle at gcc dot gnu dot org
2009-08-05 3:18 ` jvdelisle at gcc dot gnu dot org
2009-08-05 3:19 ` jvdelisle at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-05 3:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jvdelisle at gcc dot gnu dot org 2009-08-05 03:15 -------
Subject: Bug 40853
Author: jvdelisle
Date: Wed Aug 5 03:15:18 2009
New Revision: 150476
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150476
Log:
2009-08-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40853
* io/list_read.c (nml_get_obj_data): Do not set nl
pointer to first_nl if nl->next is NULL.
Modified:
branches/gcc-4_4-branch/libgfortran/ChangeLog
branches/gcc-4_4-branch/libgfortran/io/list_read.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
` (8 preceding siblings ...)
2009-08-05 3:15 ` jvdelisle at gcc dot gnu dot org
@ 2009-08-05 3:18 ` jvdelisle at gcc dot gnu dot org
2009-08-05 3:19 ` jvdelisle at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-05 3:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from jvdelisle at gcc dot gnu dot org 2009-08-05 03:18 -------
Subject: Bug 40853
Author: jvdelisle
Date: Wed Aug 5 03:17:52 2009
New Revision: 150477
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150477
Log:
2009-08-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40853
* gfortran.dg/namelist_40.f90: Update error output.
* gfortran.dg/namelist_47.f90: Update error output.
* gfortran.dg/namelist_58.f90: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/namelist_58.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/namelist_40.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/namelist_47.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40853
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug fortran/40853] I/O: Namelist read error
2009-07-24 21:02 [Bug fortran/40853] New: Namelist read error david dot sagan at gmail dot com
` (9 preceding siblings ...)
2009-08-05 3:18 ` jvdelisle at gcc dot gnu dot org
@ 2009-08-05 3:19 ` jvdelisle at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-05 3:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jvdelisle at gcc dot gnu dot org 2009-08-05 03:19 -------
Fixed on 4.4 and 4.5, 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=40853
^ permalink raw reply [flat|nested] 12+ messages in thread