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

michael dot a dot richmond at nasa dot gov gcc-bugzilla@gcc.gnu.org
Thu Sep 3 18:12:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list