From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14115 invoked by alias); 1 Mar 2011 22:08:22 -0000 Received: (qmail 14107 invoked by uid 22791); 1 Mar 2011 22:08:21 -0000 X-SWARE-Spam-Status: No, hits=-51.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Mar 2011 22:08:15 +0000 Received: from kpbe15.cbf.corp.google.com (kpbe15.cbf.corp.google.com [172.25.105.79]) by smtp-out.google.com with ESMTP id p21M8D1d030691 for ; Tue, 1 Mar 2011 14:08:13 -0800 Received: from pxi10 (pxi10.prod.google.com [10.243.27.10]) by kpbe15.cbf.corp.google.com with ESMTP id p21M85Bw004440 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 1 Mar 2011 14:08:12 -0800 Received: by pxi10 with SMTP id 10so971619pxi.8 for ; Tue, 01 Mar 2011 14:08:11 -0800 (PST) Received: by 10.142.180.19 with SMTP id c19mr5211328wff.196.1299017290090; Tue, 01 Mar 2011 14:08:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.200.16 with HTTP; Tue, 1 Mar 2011 14:07:50 -0800 (PST) In-Reply-To: References: From: Martin Thuresson Date: Tue, 01 Mar 2011 22:08:00 -0000 Message-ID: Subject: Re: PR 47793 - Support relative paths using -fprofile-generate To: "kai.tietz@onevision.com" , gcc-patches Cc: jh@suse.cz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg00031.txt.bz2 Ping. On Wed, Feb 23, 2011 at 3:37 PM, Martin Thuresson wrot= e: > On Wed, Feb 23, 2011 at 10:21 AM, Martin Thuresson w= rote: >> Change 165596 and 168475 updated the code for handling gcda-paths. As >> part of this change, relative paths stopped working. >> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47793 >> >> This patch adds a guard so that "/" is not added when no prefix is >> given. >> >> The added testcase uses the path "../gcc/". This puts the gcda in the >> same directory, so that the cleanup-coverage-files will find them. >> >> I have tested the patch using "make bootstrap; make -k check" with >> target x86_64-unknown-linux-gnu and saw no additional test failures. >> >> Let me know if there is any other testing I should do. > > ChangeLog > gcc/ > > 2011-02-23 =A0Martin Thuresson =A0 > > =A0 =A0 =A0 =A0PR gcov-profile/47793 > =A0 =A0 =A0 =A0* libgcov.c (gcov_exit): Support relative profile paths. > > gcc/testsuite/ > > 2011-02-23 =A0Martin Thuresson =A0 > > =A0 =A0 =A0 =A0PR gcov-profile/47793 > =A0 =A0 =A0 =A0* gcc.dg/pr47793.c: New. > >> >> Thanks, >> Martin >> >