[Bug fortran/41328] [4.4/4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41328

[Bug fortran/41328] [4.4/4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41328

[Bug fortran/41328] [4.4, 4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2009-09-18 19:20 --- Here is a new test case, closely related, reported on fortran list: http://gcc.gnu.org/ml/fortran/2009-09/msg00126.html The read of the last line in a file without the end-of-line marker should be treated as

[Bug fortran/41328] [4.4, 4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-18 Thread jvdelisle at gcc dot gnu dot org
-- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.2 |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41328

[Bug fortran/41328] [4.4, 4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2009-09-19 04:42 --- Subject: Bug 41328 Author: jvdelisle Date: Sat Sep 19 04:41:38 2009 New Revision: 151877 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=151877 Log: 2009-09-18 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/41328] [4.4, 4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2009-09-19 04:45 --- Subject: Bug 41328 Author: jvdelisle Date: Sat Sep 19 04:45:00 2009 New Revision: 151878 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=151878 Log: 2009-09-18 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/41328] [4.4/4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2009-09-13 03:41 --- Subject: Bug 41328 Author: jvdelisle Date: Sun Sep 13 03:41:41 2009 New Revision: 151665 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=151665 Log: 2009-09-12 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/41328] [4.4/4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2009-09-13 03:44 --- Subject: Bug 41328 Author: jvdelisle Date: Sun Sep 13 03:44:34 2009 New Revision: 151666 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=151666 Log: 2009-09-12 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/41328] [4.4/4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2009-09-13 03:46 --- Fixed on trunk. Will commit to 4.4.x in a few days. (approved by Janne on IRC) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41328

[Bug fortran/41328] [4.4/4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-10 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-09-10 11:46 --- Jerry, can you have a look? I can reproduce it under Linux with 4.5.0 20090910 with CRLF line breaks. Valgrind error is: ==658== Conditional jump or move depends on uninitialised value(s) ==658==at 0x4EDDD45:

[Bug fortran/41328] [4.4/4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-10 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2009-09-11 00:16 --- yes, this is a duplicate of the other PR I am workinmg on (PR41168). The code snippet in comment #1 is the exact spot I am working on. Two problems here. We can possiblly accessing memory that has not been

[Bug fortran/41328] [4.4/4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

2009-09-10 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2009-09-11 05:33 --- Patch submitted. See: http://gcc.gnu.org/ml/fortran/2009-09/msg00062.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41328