From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10854 invoked by alias); 3 Sep 2009 18:12:36 -0000 Received: (qmail 10827 invoked by uid 48); 3 Sep 2009 18:12:24 -0000 Date: Thu, 03 Sep 2009 18:12:00 -0000 Message-ID: <20090903181224.10826.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/41168] incorrect processing of formatted records in mingw port In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "michael dot a dot richmond at nasa dot gov" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00315.txt.bz2 ------- 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