From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6012 invoked by alias); 27 Feb 2018 12:39:19 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 5960 invoked by uid 89); 27 Feb 2018 12:39:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,KAM_SHORT,SPF_PASS autolearn=ham version=3.3.2 spammy=customers X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Feb 2018 12:39:16 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9D670AE67; Tue, 27 Feb 2018 12:39:14 +0000 (UTC) Subject: Re: AW: AW: AW: AW: Problem using gcov To: Alexander Fichtinger , "gcc@gcc.gnu.org" References: <0c98dc62-0de0-77b5-3681-cbc68a6dfa78@suse.cz> <83da2297-f60d-a9ef-91aa-5ec62497a47c@suse.cz> <82d31942-b9ee-8b51-6bef-f6f6481ff703@suse.cz> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <0f4bf582-058f-c1a7-e306-0c8f93a39b36@suse.cz> Date: Tue, 27 Feb 2018 12:43:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00226.txt.bz2 On 02/27/2018 09:13 AM, Alexander Fichtinger wrote: > Ok, thanks for the information. > > Do we get all coverage-related problems when we monitor the Bugs with the Component "gcov-profile"? > Or are there other components concerning coverage? Yes, I mark all gcov bugs with this component. > > We are using gcov in our Testframework (used for Automotive software) in order to determine the Code-Coverage, > so it is important for us to know if there are any bugs which could compromise the reported test coverage. Understand that! Martin > > > Thanks and kind regards, > Alexander > > -----Ursprüngliche Nachricht----- > Von: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] Im Auftrag von Martin Li¹ka > Gesendet: Dienstag, 27. Februar 2018 09:01 > An: Alexander Fichtinger ; gcc@gcc.gnu.org > Betreff: Re: AW: AW: AW: Problem using gcov > > On 02/26/2018 03:41 PM, Alexander Fichtinger wrote: >> Ok, thanks for the info. >> >> I just saw the description in the bug-report. >> When we document this for our customers, it's ok, I think. > > Thanks for understanding. I would just note that there's couple of similar issues you probably want to be aware of: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83434 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83505 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83587 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83616 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83678 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83813 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83813 > > Martin > >> >> Thanks and kind regards, >> Alexander >> >> -----Ursprüngliche Nachricht----- >> Von: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] Im Auftrag >> von Martin Li¹ka >> Gesendet: Montag, 26. Februar 2018 15:36 >> An: Alexander Fichtinger ; >> gcc@gcc.gnu.org >> Betreff: Re: AW: AW: Problem using gcov >> >> On 02/26/2018 03:02 PM, Alexander Fichtinger wrote: >>> Thanks Martin! >>> >>> I've seen that the target milestone for this bug is 8.0. >> >> I did, but as described in >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84572#c1 >> I'm not planning to fix it in the next releases. It's just a minor issue in GCOV infrastructure. >> >> Thank you for understanding, >> Martin >> >>> >>> When is 8.0 going to be released? >>> >>> Thanks and kind regards, >>> Alexander >>> >>> -----Ursprüngliche Nachricht----- >>> Von: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] Im Auftrag >>> von Martin Li¹ka >>> Gesendet: Montag, 26. Februar 2018 14:57 >>> An: Alexander Fichtinger ; >>> gcc@gcc.gnu.org >>> Betreff: Re: AW: Problem using gcov >>> >>> On 02/26/2018 11:30 AM, Alexander Fichtinger wrote: >>>> Hi Martin, >>>> >>>> sorry that it took me so long to create the standalone sample, but I was very busy the last few days. >>>> >>>> >>>> We can reproduce the strange behavior in a standalone scenario. >>>> >>>> I've provided it in the attachments. >>>> In the ZIP-file there is also a README.txt which contains the commands which I called. >>>> >>>> And the line with the "strange" execution count is also mentioned. >>>> >>>> Thank you and kind regards, >>>> >>>> Alexander >>>> >>>> >>>> -----Ursprüngliche Nachricht----- >>>> Von: Martin Li¹ka [mailto:mliska@suse.cz] >>>> Gesendet: Donnerstag, 22. Februar 2018 10:43 >>>> An: Alexander Fichtinger ; >>>> gcc@gcc.gnu.org >>>> Betreff: Re: Problem using gcov >>>> >>>> On 02/21/2018 02:33 PM, Alexander Fichtinger wrote: >>>>> When you look at line 23 it is called 1 time. Line 24 is called 2 times (the bold one). >>>>> We already looked in the disassembly but did not see a reason why the line should be executed 2 times. >>>>> >>>>> Can anyone help here, please? >>>>> >>>>> Kind regards, >>>>> Alex >>>> >>>> Hi. >>>> >>>> Sure, can you please send a self-contained test-case that I can run? >>>> >>>> Thank you, >>>> Martin >>>> >>> >>> No problem, I can confirm the problem: >>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84572 >>> >>> Martin >>> >> >> > >