[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2006-04-21 03:53 --- Fixed on 4.1 and 4.2. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2006-04-21 03:51 --- Subject: Bug 27138 Author: jvdelisle Date: Fri Apr 21 03:51:44 2006 New Revision: 113132 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113132 Log: 2006-04-20 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2006-04-21 03:47 --- Subject: Bug 27138 Author: jvdelisle Date: Fri Apr 21 03:47:23 2006 New Revision: 113131 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113131 Log: 2006-04-20 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-16 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2006-04-17 02:37 --- Subject: Bug 27138 Author: jvdelisle Date: Mon Apr 17 02:37:15 2006 New Revision: 113000 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113000 Log: 2006-04-16 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-16 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2006-04-17 02:33 --- Subject: Bug 27138 Author: jvdelisle Date: Mon Apr 17 02:33:51 2006 New Revision: 112999 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112999 Log: 2006-04-14 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-14 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2006-04-15 03:00 --- Subject: Bug number PR27138 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00547.html -- http://gcc.gnu.org/bugzilla/sh

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2006-04-14 05:50 --- Created an attachment (id=11263) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11263&action=view) Proposed Patch This is a proposed patch you can try out while I work up a more complete test case. The exam

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2006-04-13 07:20 --- The "engima" referred to in comment#2 is because it is a list directed read and commas and spaces are deliminators. If you turn this into a read with a format of '(a)' you get the whole string. I am still workin

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2006-04-13 04:26 --- I have looked this over. Its a matter of what behavior is acceptable for each type of error we get. My interpretation of your testcase is that we should do a next_record when we detect the error before we do the

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2006-04-13 00:22 --- I will investigate. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added As

[Bug fortran/27138] gfortran: read(*,*) myInt advances only one character on error

2006-04-12 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-04-12 21:05 --- If one replaces the third read by character(len=300) :: str READ (5,*,END=100,ERR=99) str WRITE(*,*) trim(str) one sees that the first two failing READs advance by one character each ('i','g'