[Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads

2008-07-25 Thread michael dot e dot olsen at nasa dot gov
--- Comment #1 from michael dot e dot olsen at nasa dot gov 2008-07-25 22:35 --- Created an attachment (id=15962) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15962action=view) Coding to reproduce bug described Didn't know I could add attachment. I'll add one demonstrating that

[Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads

2008-07-25 Thread michael dot e dot olsen at nasa dot gov
--- Comment #2 from michael dot e dot olsen at nasa dot gov 2008-07-25 22:37 --- Created an attachment (id=15963) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15963action=view) Version showing iostat isn't distinguishing either. This version is a little more involved, and opens

[Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads

2008-07-25 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2008-07-25 22:41 --- Update your ancient compiler. troutmask:sgk[211] gfc --version GNU Fortran (GCC) 4.2.5 20080702 (prerelease) troutmask:sgk[212] gfc -o z m.f troutmask:sgk[213] ./z 1 0 0 STOP ERror

[Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads

2008-07-25 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2008-07-25 22:45 --- Your iostat code with the same compilers shows troutmask:sgk[219] ./z ival(should indicate normal) 0 ival(should indicate normal) 0 ival(should indicate end) -1 File closed and then

[Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads

2008-07-25 Thread michael dot e dot olsen at nasa dot gov
--- Comment #5 from michael dot e dot olsen at nasa dot gov 2008-07-25 22:51 --- Created an attachment (id=15964) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15964action=view) Version showing iostat isn't distinguishing either. This version is a little more involved, and opens

[Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads

2008-07-25 Thread kyon at verizon dot net
--- Comment #6 from kyon at verizon dot net 2008-07-26 00:10 --- Subject: Re: iostat and/or end= and Err= don't work in read statements, unformatted reads Kargl Thanks. I'm now in the process of attempting to update my gcc collection to at least 4.3. If you can verify this

[Bug fortran/36942] iostat and/or end= and Err= don't work in read statements, unformatted reads

2008-07-25 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2008-07-26 01:18 --- (In reply to comment #6) Kargl Thanks again, this really helped me out Mike PS, I like the replica... The problem does not appear in 4.2.5 or 4.4.0. I don't have a 4.3.1 compiler installed, so can't