[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-09-10 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2009-09-11 05:38 --- PR41328 was submitted which has a little bit easier test case to use while not requiring mingw environment. So, I am closing this bug as the duplicate even though it was reported here first. A patch has been su

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-09-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2009-09-09 02:11 --- I am able to reproduce this now, so I will begin to see if I can pinpoint the problem. Using: Index: io.h === --- io.h(revision 151491) ++

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-09-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2009-09-09 00:58 --- It is not clear whether we have two bugs or one here yet. I am investigating. One way to possibly reproduce this on linux machines is to define HAVE_CRLF in libgfortran/io/io.h. This way, all files affected by

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-09-08 Thread michael dot a dot richmond at nasa dot gov
--- Comment #8 from michael dot a dot richmond at nasa dot gov 2009-09-08 15:21 --- (In reply to comment #7) > Is the problem described at > http://gcc.gnu.org/ml/fortran/2009-09/msg00046.html > the same or a different one? > > There, it is claimed to be a 4.5 regression. > I verifi

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-09-08 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2009-09-08 10:04 --- Is the problem described at http://gcc.gnu.org/ml/fortran/2009-09/msg00046.html the same or a different one? There, it is claimed to be a 4.5 regression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41168

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-09-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2009-09-04 23:09 --- I will add this to my list. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-09-03 Thread michael dot a dot richmond at nasa dot gov
--- Comment #5 from michael dot a dot richmond at nasa dot gov 2009-09-03 18:12 --- (In reply to comment #4) > It's probably some bad counting of position on platforms with HAVE_CRLF. To > investigate, it should be possible to build such a faulty linux compiler by > forcing HAVE_CRLF to

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2009-09-03 14:19 --- I can confirm I can reproduce this bug with an darwin-to-mingw cross-compiler, and running the executable under wine. I can also confirm that it's about the REWIND statement: if you have already run the test prog

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-08-26 Thread michael dot a dot richmond at nasa dot gov
--- Comment #3 from michael dot a dot richmond at nasa dot gov 2009-08-26 16:47 --- The output from typing "gfortran -v" is listed below. It is a cross-compilation, if that is significant. Built by Equation Solution . Using built-in specs. Target: i386-pc-mingw

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-08-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2009-08-26 01:03 --- oops, you got it from equation.com. Hmm, I don't know much how they create their distribution.Suggest you contact them and see what they think. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41168

[Bug fortran/41168] incorrect processing of formatted records in mingw port

2009-08-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2009-08-26 00:39 --- Works for me on latest trunk. 4.5 $ ./a.out 1234567890 end of file detected Please post the output from gfortran -v and also the exact URL where you got the download. The binaries from the wiki are unoffici