public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE
@ 2011-06-06 6:16 burnus at gcc dot gnu.org
2011-06-06 6:16 ` [Bug fortran/49296] " burnus at gcc dot gnu.org
` (19 more replies)
0 siblings, 20 replies; 21+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-06-06 6:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Summary: [4.6/4.7 Regression] Wrong I/O END OF FILE
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
CC: jvdelisle@gcc.gnu.org
Reported by Reinhold Bader (LRZ). The following program prints with gfortran
4.5 (and ifort 11, NAG 5.1, g95, pathf95):
OK
With gfortran 4.6/4.7, it prints:
At line 11 of file read_listdir_01_pos.f90 (unit = 20, file = 'read.dat')
Fortran runtime error: End of file
--------- C part of the test program -----------
#include <stdio.h>
void genfil() {
FILE *fp;
fp = fopen("read.dat", "w+");
fprintf(fp, "abcd efgh");
fclose(fp);
}
--------- Fortran part of the test program -----------
program read_listdir_01_pos
implicit none
integer, parameter :: strmx = 255
character(len=strmx) :: s1, s2
interface
subroutine genfil() bind(c)
end subroutine genfil
end interface
call genfil()
open(unit=20, file='read.dat', form='FORMATTED', action='READ', status='OLD')
read(20, fmt=*) s1, s2
if (trim(s1) == "abcd" .and. trim(s2) == "efgh") then
write(*, *) 'OK'
else
write(*, *) 'FAIL'
end if
close(20)
end program read_listdir_01_pos
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug fortran/49296] [4.6/4.7 Regression] Wrong I/O END OF FILE
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
@ 2011-06-06 6:16 ` burnus at gcc dot gnu.org
2011-06-06 9:42 ` [Bug fortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings burnus at gcc dot gnu.org
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-06-06 6:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.5.0
Target Milestone|--- |4.6.1
Known to fail| |4.6.0, 4.7.0
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug fortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
2011-06-06 6:16 ` [Bug fortran/49296] " burnus at gcc dot gnu.org
@ 2011-06-06 9:42 ` burnus at gcc dot gnu.org
2011-06-06 10:28 ` dominiq at lps dot ens.fr
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-06-06 9:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.6/4.7 Regression] Wrong |[4.6/4.7 Regression] Wrong
|I/O END OF FILE |END OF FILE error for
| |list-directed I/O with
| |strings
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-06 09:42:36 UTC ---
The issue already occurs for
read(20, fmt=*) s1
i.e. the list-directed read of a single character variable. In this case,
read_character should only read "abcd" - and eat the white space, before the
whole line is eaten.
It works with GCC 4.6.0 (trunk) 2010-09-28-r164677. While it fails with 4.7
2011-05-10 and 2011-06-06 -- and "4.6.0 20110523 [gcc-4_6-branch revision
174058] (SUSE Linux)".
(For testing: Ensure that the correct libgfortran version is used.)
I could not find anything very promising in the changelog, maybe Rev. 170239
(2011-02-16) for bug 47567 comment 15, or Rev. 168502 (2011-01-04) for PR 47154
look very vaguely related.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug fortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
2011-06-06 6:16 ` [Bug fortran/49296] " burnus at gcc dot gnu.org
2011-06-06 9:42 ` [Bug fortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings burnus at gcc dot gnu.org
@ 2011-06-06 10:28 ` dominiq at lps dot ens.fr
2011-06-06 10:37 ` dominiq at lps dot ens.fr
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-06 10:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.06.06 10:28:12
Ever Confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-06 10:28:12 UTC ---
Reduced range:
gcc4.6 r166102 is OK
gcc4.6 r166367 gives the error.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug fortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (2 preceding siblings ...)
2011-06-06 10:28 ` dominiq at lps dot ens.fr
@ 2011-06-06 10:37 ` dominiq at lps dot ens.fr
2011-06-06 10:43 ` burnus at gcc dot gnu.org
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-06 10:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-06 10:36:33 UTC ---
Revision 166252 is within the range, but I fail to see the connection:
2010-11-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/43899
* runtime/error.c (generate_warning): New function to generate a run
time warning message. Fix some whitespace.
* libgfortran.h: Add prototype for new function.
* io/list_read.c (nml_read_obj): Use new function to warn when a
character namelist object is truncated. Only warn if compiled
with -fbounds-check.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug fortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (3 preceding siblings ...)
2011-06-06 10:37 ` dominiq at lps dot ens.fr
@ 2011-06-06 10:43 ` burnus at gcc dot gnu.org
2011-06-06 12:12 ` dominiq at lps dot ens.fr
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-06-06 10:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jb at gcc dot gnu.org
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-06 10:42:32 UTC ---
(In reply to comment #3)
> Revision 166252 is within the range, but I fail to see the connection:
My impression - looking at the diff - is that it is a different patch.
(Janne: Could you please use the normal ChangeLog format in commits? It helps
tremendously to find commits.)
http://gcc.gnu.org/viewcvs?view=revision&revision=166180
r166180 | jb | 2010-11-02 13:56:38 +0100 (Tue, 02 Nov 2010) | 1 line
Changed paths:
M /trunk/libgfortran/ChangeLog
M /trunk/libgfortran/io/io.h
M /trunk/libgfortran/io/list_read.c
M /trunk/libgfortran/io/transfer.c
PR 45629 Remove usage of setjmp/longjmp
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (5 preceding siblings ...)
2011-06-06 12:12 ` dominiq at lps dot ens.fr
@ 2011-06-06 12:12 ` dominiq at lps dot ens.fr
2011-06-06 12:21 ` jvdelisle at gcc dot gnu.org
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-06 12:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|fortran |libfortran
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-06 12:11:43 UTC ---
Changing component to libfortran.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug fortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (4 preceding siblings ...)
2011-06-06 10:43 ` burnus at gcc dot gnu.org
@ 2011-06-06 12:12 ` dominiq at lps dot ens.fr
2011-06-06 12:12 ` [Bug libfortran/49296] " dominiq at lps dot ens.fr
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-06 12:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-06 12:10:14 UTC ---
> > Revision 166252 is within the range, but I fail to see the connection:
>
> My impression - looking at the diff - is that it is a different patch.
You are right!-) Revision 166179 is OK, 166180 is not.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (6 preceding siblings ...)
2011-06-06 12:12 ` [Bug libfortran/49296] " dominiq at lps dot ens.fr
@ 2011-06-06 12:21 ` jvdelisle at gcc dot gnu.org
2011-06-11 8:42 ` jb at gcc dot gnu.org
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-06-06 12:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-06-06 12:20:48 UTC ---
I will leave this to Janne. (I am very short on time.) If the fix is not
obvious, I will be happy to review the patch. It took a while for this to
surface.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (7 preceding siblings ...)
2011-06-06 12:21 ` jvdelisle at gcc dot gnu.org
@ 2011-06-11 8:42 ` jb at gcc dot gnu.org
2011-06-12 13:47 ` rguenth at gcc dot gnu.org
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-06-11 8:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |jb at gcc dot gnu.org
|gnu.org |
--- Comment #8 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-06-11 08:41:40 UTC ---
Assigning to myself. I'm pretty busy at the moment, though.. :(
Anyways, seems the problem is that we hit EOF before the end of the record;
that is, read.dat doesn't contain a \n at the end of the line. Shouldn't be too
hard to fix.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (8 preceding siblings ...)
2011-06-11 8:42 ` jb at gcc dot gnu.org
@ 2011-06-12 13:47 ` rguenth at gcc dot gnu.org
2011-06-17 19:11 ` jb at gcc dot gnu.org
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-12 13:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (9 preceding siblings ...)
2011-06-12 13:47 ` rguenth at gcc dot gnu.org
@ 2011-06-17 19:11 ` jb at gcc dot gnu.org
2011-06-18 7:53 ` jb at gcc dot gnu.org
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-06-17 19:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2011-06/msg00896.htm
| |l
--- Comment #9 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-06-17 19:10:43 UTC ---
Patch: http://gcc.gnu.org/ml/gcc-patches/2011-06/msg00896.html
Simplified testcase: http://gcc.gnu.org/ml/gcc-patches/2011-06/msg01355.html
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (10 preceding siblings ...)
2011-06-17 19:11 ` jb at gcc dot gnu.org
@ 2011-06-18 7:53 ` jb at gcc dot gnu.org
2011-06-20 14:32 ` burnus at gcc dot gnu.org
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-06-18 7:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #10 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-06-18 07:53:12 UTC ---
Author: jb
Date: Sat Jun 18 07:53:09 2011
New Revision: 175166
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175166
Log:
PR 49296 List directed read of string ending in EOF.
libgfortran ChangeLog entry:
2011-06-18 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/49296
* io/list_read.c (read_character): Accept EOF as a separator when
reading string.
testsuite ChangeLog entry:
2011-06-18 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/48296
* gfortran.dg/read_list_eof_1.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/read_list_eof_1.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (11 preceding siblings ...)
2011-06-18 7:53 ` jb at gcc dot gnu.org
@ 2011-06-20 14:32 ` burnus at gcc dot gnu.org
2011-07-03 15:55 ` jb at gcc dot gnu.org
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-06-20 14:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.1 |4.6.2
--- Comment #11 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-20 14:32:27 UTC ---
Missed GCC 4.6.1 (RC was just posted), should thus be fixed for 4.6.2 when the
branch opens again.
Cf. http://gcc.gnu.org/ml/gcc/2011-06/msg00274.html
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (12 preceding siblings ...)
2011-06-20 14:32 ` burnus at gcc dot gnu.org
@ 2011-07-03 15:55 ` jb at gcc dot gnu.org
2011-07-03 16:01 ` jb at gcc dot gnu.org
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-07-03 15:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #12 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-03 15:54:05 UTC ---
Author: jb
Date: Sun Jul 3 15:54:02 2011
New Revision: 175787
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175787
Log:
PR 48296 Accept EOF as separator when reading string with list format.
2011-07-03 Janne Blomqvist <jb@gcc.gnu.org>
Backport from mainline:
PR libfortran/49296
* io/list_read.c (read_character): Accept EOF as a separator when
reading string.
2011-07-03 Janne Blomqvist <jb@gcc.gnu.org>
Backport from mainline:
PR libfortran/48296
* gfortran.dg/read_list_eof_1.f90: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/read_list_eof_1.f90
Modified:
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/libgfortran/ChangeLog
branches/gcc-4_6-branch/libgfortran/io/list_read.c
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (13 preceding siblings ...)
2011-07-03 15:55 ` jb at gcc dot gnu.org
@ 2011-07-03 16:01 ` jb at gcc dot gnu.org
2011-07-03 17:38 ` jb at gcc dot gnu.org
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-07-03 16:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #13 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-03 16:00:34 UTC ---
Author: jb
Date: Sun Jul 3 16:00:32 2011
New Revision: 175788
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175788
Log:
PR 49296 Fix wrong PR number in ChangeLog entry
Modified:
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (14 preceding siblings ...)
2011-07-03 16:01 ` jb at gcc dot gnu.org
@ 2011-07-03 17:38 ` jb at gcc dot gnu.org
2011-07-03 17:40 ` jb at gcc dot gnu.org
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-07-03 17:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #14 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-03 17:37:33 UTC ---
Author: jb
Date: Sun Jul 3 17:37:30 2011
New Revision: 175789
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175789
Log:
PR 49296 Fix wrong PR number in ChangeLog
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (15 preceding siblings ...)
2011-07-03 17:38 ` jb at gcc dot gnu.org
@ 2011-07-03 17:40 ` jb at gcc dot gnu.org
2011-07-13 18:48 ` jb at gcc dot gnu.org
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-07-03 17:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #15 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-03 17:40:11 UTC ---
Created attachment 24662
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24662
Updated testcase
Updated testcase that checks integer, real, and logical types in addition to
character. Unfortunately, regressions still remain.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (16 preceding siblings ...)
2011-07-03 17:40 ` jb at gcc dot gnu.org
@ 2011-07-13 18:48 ` jb at gcc dot gnu.org
2011-07-13 18:53 ` jb at gcc dot gnu.org
2011-07-13 18:54 ` jb at gcc dot gnu.org
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-07-13 18:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #16 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-13 18:46:48 UTC ---
Author: jb
Date: Wed Jul 13 18:46:44 2011
New Revision: 176245
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176245
Log:
PR 49296 List read, EOF without preceding separator
2011-07-13 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/49296
* io/list_read.c (read_logical): Don't error out if a valid value
is followed by EOF instead of a normal separator.
(read_integer): Likewise.
testsuite:
2011-07-13 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/49296
* gfortran.dg/read_list_eof_1.f90: Add tests for integer, real,
and logical reads.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/read_list_eof_1.f90
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (17 preceding siblings ...)
2011-07-13 18:48 ` jb at gcc dot gnu.org
@ 2011-07-13 18:53 ` jb at gcc dot gnu.org
2011-07-13 18:54 ` jb at gcc dot gnu.org
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-07-13 18:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
--- Comment #17 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-13 18:52:43 UTC ---
Author: jb
Date: Wed Jul 13 18:52:40 2011
New Revision: 176246
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176246
Log:
PR 49296 List read, EOF before separator, backport from trunk
2011-07-13 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/49296
* io/list_read.c (read_logical): Don't error out if a valid value
is followed by EOF instead of a normal separator.
(read_integer): Likewise.
testsuite:
2011-07-13 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/49296
* gfortran.dg/read_list_eof_1.f90: Add tests for integer, real,
and logical reads.
Modified:
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/read_list_eof_1.f90
branches/gcc-4_6-branch/libgfortran/ChangeLog
branches/gcc-4_6-branch/libgfortran/io/list_read.c
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
` (18 preceding siblings ...)
2011-07-13 18:53 ` jb at gcc dot gnu.org
@ 2011-07-13 18:54 ` jb at gcc dot gnu.org
19 siblings, 0 replies; 21+ messages in thread
From: jb at gcc dot gnu.org @ 2011-07-13 18:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49296
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #18 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-07-13 18:54:09 UTC ---
Fixed on trunk (4.7) and 4.6, closing.
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2011-07-13 18:54 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-06 6:16 [Bug fortran/49296] New: [4.6/4.7 Regression] Wrong I/O END OF FILE burnus at gcc dot gnu.org
2011-06-06 6:16 ` [Bug fortran/49296] " burnus at gcc dot gnu.org
2011-06-06 9:42 ` [Bug fortran/49296] [4.6/4.7 Regression] Wrong END OF FILE error for list-directed I/O with strings burnus at gcc dot gnu.org
2011-06-06 10:28 ` dominiq at lps dot ens.fr
2011-06-06 10:37 ` dominiq at lps dot ens.fr
2011-06-06 10:43 ` burnus at gcc dot gnu.org
2011-06-06 12:12 ` dominiq at lps dot ens.fr
2011-06-06 12:12 ` [Bug libfortran/49296] " dominiq at lps dot ens.fr
2011-06-06 12:21 ` jvdelisle at gcc dot gnu.org
2011-06-11 8:42 ` jb at gcc dot gnu.org
2011-06-12 13:47 ` rguenth at gcc dot gnu.org
2011-06-17 19:11 ` jb at gcc dot gnu.org
2011-06-18 7:53 ` jb at gcc dot gnu.org
2011-06-20 14:32 ` burnus at gcc dot gnu.org
2011-07-03 15:55 ` jb at gcc dot gnu.org
2011-07-03 16:01 ` jb at gcc dot gnu.org
2011-07-03 17:38 ` jb at gcc dot gnu.org
2011-07-03 17:40 ` jb at gcc dot gnu.org
2011-07-13 18:48 ` jb at gcc dot gnu.org
2011-07-13 18:53 ` jb at gcc dot gnu.org
2011-07-13 18:54 ` jb at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).