From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13113 invoked by alias); 29 May 2008 12:41:21 -0000 Received: (qmail 12922 invoked by uid 48); 29 May 2008 12:40:39 -0000 Date: Thu, 29 May 2008 12:41:00 -0000 Message-ID: <20080529124039.12921.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/36276] [4.3/4.4 Regression] possible issue with opening fortran files? In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus 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: 2008-05/txt/msg02190.txt.bz2 ------- Comment #3 from burnus at gcc dot gnu dot org 2008-05-29 12:40 ------- Confirm. ==1593== Invalid read of size 1 ==1593== at 0xB51CD1: linemap_add (line-map.c:111) That is libcpp/line-map.c:111: source_location start_location = set->highest_location + 1; I quickly looked at the source code and in the debugger, but I could not find the problem. I had to add more comment lines to the 8-line test case, otherwise valgrind wouldn't diagnose the invalid read. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-05-29 12:40:39 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36276