AW: AW: AW: AW: Problem using gcov

Martin Liška mliska@suse.cz
Tue Feb 27 12:43:00 GMT 2018


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 <alexander.fichtinger@logicals.com>; 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 <alexander.fichtinger@logicals.com>; 
>> 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 <alexander.fichtinger@logicals.com>;
>>> 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 <alexander.fichtinger@logicals.com>;
>>>> 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
>>>
>>
>>
> 
> 



More information about the Gcc mailing list