From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1139 invoked by alias); 10 Jun 2009 02:18:28 -0000 Received: (qmail 1102 invoked by uid 48); 10 Jun 2009 02:18:16 -0000 Date: Wed, 10 Jun 2009 02:18:00 -0000 Message-ID: <20090610021816.1101.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/40330] [4.4 Regression] incorrect IO In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" 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/msg00601.txt.bz2 ------- Comment #16 from jvdelisle at gcc dot gnu dot org 2009-06-10 02:18 ------- The two locations referenced by valgrind in transfer.c is in code that is unchanged from 4.3, so I don't think that is where the problem is. However, looking at the CP2K code line involved: WRITE(unit=unit_nr,fmt="("//TRIM(myfmt)//",a,' ')",advance="NO") TRIM(keyword%names(1)) Points to fmt or advance="NO" logic. I am building cp2k with format caching removed to see if we still get this error. Joost, can you explain what the following means? CP2K| condition FAILED at line 195 CP2K| Abnormal program termination, stopped by process number 0 Aborted -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40330