From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10499 invoked by alias); 1 Aug 2006 20:55:37 -0000 Received: (qmail 10455 invoked by uid 48); 1 Aug 2006 20:55:29 -0000 Date: Tue, 01 Aug 2006 20:55:00 -0000 Message-ID: <20060801205529.10454.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/11651] gcov aborts if empty .da files (patch attached) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "laurent dot deniel at free dot fr" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-08/txt/msg00029.txt.bz2 List-Id: ------- Comment #3 from laurent dot deniel at free dot fr 2006-08-01 20:55 ------- Newer gcc/gcov version (3.4.5 and 4) again changed the behavior, it is no longer possible to do gcov if : - the .gcda file is empty - there is no .gcda file In the later case at least, gcov invoked on the .c (not the .gcda) should do the same as with previous gcc v3 releases : it should create a .c.gcov file without any executed line ... -- laurent dot deniel at free dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11651