[Bug libfortran/25116] namelist read from non-opened file

2005-12-02 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2005-12-02 16:46 --- Subject: Bug 25116 Author: fxcoudert Date: Fri Dec 2 16:46:49 2005 New Revision: 107900 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107900 Log: PR libfortran/25116 * io/transfer.c (da

[Bug libfortran/25116] namelist read from non-opened file

2005-11-29 Thread toon at moene dot indiv dot nluug dot nl
--- Comment #9 from toon at moene dot indiv dot nluug dot nl 2005-11-29 19:20 --- FX, Your patch solved the problem for me. AFAICS, this patch is indeed the correct fix for this problem. Please apply it to (at least) 4.1 and trunk. It might be appropriate for the 4.0 branch, too. --

[Bug libfortran/25116] namelist read from non-opened file

2005-11-28 Thread jvdelisle at verizon dot net
--- Comment #8 from jvdelisle at verizon dot net 2005-11-28 21:07 --- Subject: Re: namelist read from non-opened file fxcoudert at gcc dot gnu dot org wrote: > + > /* Is it unformatted? */ > - if (!(cf & (IOPARM_DT_HAS_FORMAT | IOPARM_DT_LIST_FORMAT))) > + if (!(cf & (IO

[Bug libfortran/25116] namelist read from non-opened file

2005-11-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2005-11-28 15:59 --- I think the following patch (no time yet to regtest it, and won't have time soon, please feel free to test it) fixes it: Index: transfer.c === --- t

[Bug libfortran/25116] namelist read from non-opened file

2005-11-28 Thread toon at moene dot indiv dot nluug dot nl
--- Comment #6 from toon at moene dot indiv dot nluug dot nl 2005-11-28 15:36 --- > I think you are right. I have been putting in debug statements all over and > find that we are asking the wrong length of reads, 8 characters, instead of 1 > in the failing case. I will get back to th

[Bug libfortran/25116] namelist read from non-opened file

2005-11-28 Thread jvdelisle at verizon dot net
--- Comment #5 from jvdelisle at verizon dot net 2005-11-28 08:09 --- Subject: Re: namelist read from non-opened file fxcoudert at gcc dot gnu dot org wrote: > --- Comment #4 from fxcoudert at gcc dot gnu dot org 2005-11-28 07:08 > --- > No, it's in fact easier than that. We

Re: [Bug libfortran/25116] namelist read from non-opened file

2005-11-28 Thread Jerry DeLisle
fxcoudert at gcc dot gnu dot org wrote: --- Comment #4 from fxcoudert at gcc dot gnu dot org 2005-11-28 07:08 --- No, it's in fact easier than that. We shouldn't come into us_read for this file, which is formatted! Probably a bad default flag is set. I think you are right. I have bee

[Bug libfortran/25116] namelist read from non-opened file

2005-11-27 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2005-11-28 07:08 --- No, it's in fact easier than that. We shouldn't come into us_read for this file, which is formatted! Probably a bad default flag is set. -- fxcoudert at gcc dot gnu dot org changed: What|Remove