From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20027 invoked by alias); 3 Jun 2009 15:45:30 -0000 Received: (qmail 19328 invoked by uid 48); 3 Jun 2009 15:44:57 -0000 Date: Wed, 03 Jun 2009 15:45:00 -0000 Subject: [Bug libfortran/40330] New: [4.4 Regression] incorrect IO X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jv244 at cam dot ac dot uk" 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-06/txt/msg00130.txt.bz2 right now, 4.4 branch is broken for CP2K, there seems to be some error in libfortran that causes incorrect writes. The diff in the restarts looks like: 56,58c56,58 < &FORCEFIELD < PARMTYPE CHM < PARM_FILE_NAME ../sample_pot/water.pot --- > FORCEFIELD, > ,PARMTYPE CHM > ,PARM_FILE_NAME../sample_pot/water.pot so a leading & disappears, and whitespace is being replaced by ',' 4.3.1 and 4.4.0 work fine, 4.4 branch is broken. However, using the 4.3.1 runtime with a 4.4 compiled binary is OK, so I guess it is libgfortran. I have no testcase yet (other than running CP2K and inspect the restart), but will delve into it. -- Summary: [4.4 Regression] incorrect IO Product: gcc Version: 4.4.1 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40330