------- 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 be true.
I tried to do this in the i686-pc-linux-gnu port of gfortran. In the file libgfortran/config.h.in I changed "#undef HAVE_CRLF" to "#define HAVE_CRLF". When I built gfortran, the change was propagated to libgfortran/config.h. But when I ran the test case it created a file with standard Linux carriage control. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41168