[Bug fortran/39072] I/O READing logical value beyond end of string

2009-02-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2009-02-04 01:55 --- I agree, closing. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39072] I/O READing logical value beyond end of string

2009-02-03 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-02-03 10:02 --- > I believe gfortran is correct as far as giving an error. The last logical > value does not begin with a T(t) or F(f). That was my impression in comment 0 ("maybe wontfix"), which was confirmed by the standard (com

[Bug fortran/39072] I/O READing logical value beyond end of string

2009-02-02 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2009-02-03 04:43 --- I believe gfortran is correct as far as giving an error. The last logical value does not begin with a T(t) or F(f). On the commented out case gfortran agrees with g77. The string has one extra space in it so it

[Bug fortran/39072] I/O READing logical value beyond end of string

2009-02-01 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-02-01 23:18 --- If one reads an integer ("i1") instead of a logical variable ("l1"), gfortran/g95/f95 read a "0". * * * "10.6.2 Logical editing" makes it quite explicit that it is invalid: "The input field consists of optional bl

[Bug fortran/39072] I/O READing logical value beyond end of string

2009-02-01 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-02-01 23:09 --- Created an attachment (id=17226) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17226&action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39072