[Bug fortran/45532] gfortran namelist read error

2010-09-22 Thread jvdelisle at gcc dot gnu dot org


--- Comment #11 from jvdelisle at gcc dot gnu dot org  2010-09-23 01:22 
---
Backport complete. 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=45532



[Bug fortran/45532] gfortran namelist read error

2010-09-22 Thread jvdelisle at gcc dot gnu dot org


--- Comment #10 from jvdelisle at gcc dot gnu dot org  2010-09-23 01:21 
---
Subject: Bug 45532

Author: jvdelisle
Date: Thu Sep 23 01:21:10 2010
New Revision: 164547

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164547
Log:
2010-09-22  Jerry DeLisle  

Backport from mainline
PR libfortran/45532
* gfortran.dg/namelist_64.f90: New test.

Added:
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/namelist_64.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug fortran/45532] gfortran namelist read error

2010-09-22 Thread jvdelisle at gcc dot gnu dot org


--- Comment #9 from jvdelisle at gcc dot gnu dot org  2010-09-23 01:19 
---
Subject: Bug 45532

Author: jvdelisle
Date: Thu Sep 23 01:19:13 2010
New Revision: 164546

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164546
Log:
2010-09-22  Jerry DeLisle  

Backport from mainline:
PR libfortran/45532
* io/list_read.c (nml_get_obj_data): Set first_nl if the previous
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=45532



[Bug fortran/45532] gfortran namelist read error

2010-09-22 Thread jvdelisle at gcc dot gnu dot org


--- Comment #8 from jvdelisle at gcc dot gnu dot org  2010-09-23 01:11 
---
Subject: Bug 45532

Author: jvdelisle
Date: Thu Sep 23 01:11:16 2010
New Revision: 164545

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164545
Log:
2010-09-22  Jerry DeLisle  

Backport from mainline
PR libfortran/45532
* gfortran.dg/namelist_64.f90: New test.

Added:
branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/namelist_64.f90
Modified:
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug fortran/45532] gfortran namelist read error

2010-09-22 Thread jvdelisle at gcc dot gnu dot org


--- Comment #7 from jvdelisle at gcc dot gnu dot org  2010-09-23 00:58 
---
Subject: Bug 45532

Author: jvdelisle
Date: Thu Sep 23 00:58:12 2010
New Revision: 164544

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164544
Log:
2010-09-22  Jerry DeLisle  

PR libfortran/45532
Backport from mainline:
* io/list_read.c (nml_get_obj_data): Set first_nl if the previous
is NULL.

Modified:
branches/gcc-4_5-branch/libgfortran/ChangeLog
branches/gcc-4_5-branch/libgfortran/io/list_read.c


-- 


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



[Bug fortran/45532] gfortran namelist read error

2010-09-13 Thread jvdelisle at gcc dot gnu dot org


--- Comment #6 from jvdelisle at gcc dot gnu dot org  2010-09-14 04:40 
---
Fixed on trunk, will backport to 4.4 and 4.5 in a few days.


-- 

jvdelisle at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


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



[Bug fortran/45532] gfortran namelist read error

2010-09-13 Thread jvdelisle at gcc dot gnu dot org


--- Comment #5 from jvdelisle at gcc dot gnu dot org  2010-09-14 04:39 
---
Subject: Bug 45532

Author: jvdelisle
Date: Tue Sep 14 04:39:13 2010
New Revision: 164267

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164267
Log:
2010-09-14  Jerry DeLisle  

PR libfortran/45532
* gfortran.dg/namelist_64.f90: New test.

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


-- 


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



[Bug fortran/45532] gfortran namelist read error

2010-09-13 Thread jvdelisle at gcc dot gnu dot org


--- Comment #4 from jvdelisle at gcc dot gnu dot org  2010-09-14 04:37 
---
Subject: Bug 45532

Author: jvdelisle
Date: Tue Sep 14 04:37:02 2010
New Revision: 164266

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164266
Log:
2010-09-14  Jerry DeLisle  

PR libfortran/45532
* io/list_read.c (nml_get_obj_data): Set first_nl if the previous
is NULL.

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


-- 


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



[Bug fortran/45532] gfortran namelist read error

2010-09-08 Thread jvdelisle at gcc dot gnu dot org


--- Comment #3 from jvdelisle at gcc dot gnu dot org  2010-09-08 19:03 
---
This is very interesting (aka a real bugger):

Reversing the order of the declarations in 

type curve_struct
  type (line_struct) line
  type (symbol_struct) symbol
end type

to

type curve_struct
  type (symbol_struct) symbol
  type (line_struct) line
end type

allows the read to proceed correctly. Stay tuned.


-- 


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



[Bug fortran/45532] gfortran namelist read error

2010-09-05 Thread jvdelisle at gcc dot gnu dot org


--- Comment #2 from jvdelisle at gcc dot gnu dot org  2010-09-05 19:27 
---
I will have a go at 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|2010-09-04 07:35:23 |2010-09-05 19:27:55
   date||


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



[Bug fortran/45532] gfortran namelist read error

2010-09-04 Thread burnus at gcc dot gnu dot org


--- Comment #1 from burnus at gcc dot gnu dot org  2010-09-04 07:35 ---
CONFIRM. The program works with NAG, g95, ifort and prints "1".


-- 

burnus at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jvdelisle at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||wrong-code
   Last reconfirmed|-00-00 00:00:00 |2010-09-04 07:35:23
   date||


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