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:mli...@suse.cz] > Gesendet: Donnerstag, 22. Februar 2018 10:43 > An: Alexander Fichtinger <alexander.fichtin...@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