[Bug gcov-profile/114751] .gcda:stamp mismatch with notes file

2024-04-24 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 --- Comment #7 from Gejoe --- (In reply to Richard Biener from comment #6) > I have no idea why the values differ but I suspect the copying since we seem > to use the file modification time at some point. As a workaround I would > suggest > to

[Bug gcov-profile/114820] Gcov 11.4.0 .gcda:stamp mismatch with notes file

2024-04-23 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114820 --- Comment #2 from Gejoe --- (In reply to Andrew Pinski from comment #1) > . > > *** This bug has been marked as a duplicate of bug 114751 *** OK, looks like that bug is not being looked at for further replies. Let me know if any info is

[Bug gcov-profile/114751] .gcda:stamp mismatch with notes file

2024-04-23 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 --- Comment #5 from Gejoe --- (In reply to Gejoe from comment #2) > For me, it is like this (just keeping the sample filenames as such but the > values are real ones shown while checking with gcov-dump) : > > $gcov-dump

[Bug gcov-profile/114820] New: Gcov 11.4.0 .gcda:stamp mismatch with notes file

2024-04-23 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114820 Bug ID: 114820 Summary: Gcov 11.4.0 .gcda:stamp mismatch with notes file Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-18 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #9 from Gejoe --- Thank you Andrew. Meanwhile any idea if the support person is on leave for this query : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751; Thanks again. -Gejoe From: pinskia at gcc dot gnu.org

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-18 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #7 from Gejoe --- Thanks Andrew. It would be better to document this change post gcc11 apart from a sample example as generally it is understood that --coverage flag is enough for gcc to get coverage enabled build done and then

[Bug gcov-profile/114751] .gcda:stamp mismatch with notes file

2024-04-17 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 --- Comment #3 from Gejoe --- Can I get a reply on what needs to be checked next ? Thank you for the support team !

[Bug gcov-profile/114751] .gcda:stamp mismatch with notes file

2024-04-17 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 --- Comment #2 from Gejoe --- For me, it is like this (just keeping the sample filenames as such but the values are real ones shown while checking with gcov-dump) : $gcov-dump ./obj-dir-path/src-file.gcda

[Bug gcov-profile/114751] New: .gcda:stamp mismatch with notes file

2024-04-17 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 Bug ID: 114751 Summary: .gcda:stamp mismatch with notes file Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #5 from Gejoe --- my previous message is after seeing this change :

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #4 from Gejoe --- Thanks Andrew for the info. So, does this mean that every program which was compiled earlier with one step (ie. gcc --coverage srcfile.c) of gcc/g++ will have to be split to 2 steps using -c option first and then

[Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0

2024-04-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 --- Comment #2 from Gejoe --- May I know where the fix has gone to , meaning the gcc version which will not have this issue of gcov failure ?

[Bug gcov-profile/114735] New: Gcov not working with gcc version 11.4.0

2024-04-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735 Bug ID: 114735 Summary: Gcov not working with gcc version 11.4.0 Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug gcov-profile/111038] The function summary in gcov

2023-08-19 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111038 --- Comment #3 from Gejoe --- Not sure of that..Will have to check.

[Bug gcov-profile/111038] The function summary in gcov

2023-08-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111038 --- Comment #1 from Gejoe --- The document referred was this: https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html Kindly respond to my query. Eagerly awaited. :) Thank you very much team for the support !

[Bug gcov-profile/111038] New: The function summary in gcov

2023-08-16 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111038 Bug ID: 111038 Summary: The function summary in gcov Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile

[Bug gcov-profile/110545] gcda files not generated for some shared libs

2023-07-31 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110545 --- Comment #3 from Gejoe --- Any other comment or suggestion here for this case ?

[Bug gcov-profile/110545] gcda files not generated for some shared libs

2023-07-06 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110545 --- Comment #2 from Gejoe --- No, they are not using dlopen. The shared libraries are built and loaded during the program (image) loading.

[Bug gcov-profile/110545] New: gcda files not generated for some shared libs

2023-07-04 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110545 Bug ID: 110545 Summary: gcda files not generated for some shared libs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug gcov-profile/104685] multiple common of `__gcov_var'

2022-02-26 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104685 --- Comment #3 from Gejoe --- Thank you Richard for your valuable inputs. That helps !!

[Bug gcov-profile/104685] New: multiple common of `__gcov_var'

2022-02-25 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104685 Bug ID: 104685 Summary: multiple common of `__gcov_var' Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-31 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #24 from Gejoe --- Thank you Martin for all the info. Kindly bear with me for the delayed acknowledgement.

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-28 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #21 from Gejoe --- (In reply to Martin Liška from comment #20) > > I'm trying to understand line #22 to #26 specifically of .c.gcov file(as > > shown in commment #16. Let me know if the steps followed in compilation or > > execution

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-28 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #19 from Gejoe --- Just to add on : The a.out was run twice and hence the value of 20 against line # 19, 29 of .c.gcov file(as shown in commment #16). Let me know if anything is not clear.

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-28 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #18 from Gejoe --- (In reply to Martin Liška from comment #14) > (In reply to Gejoe from comment #13) > > I modified my sample-prog.c file just by adding a line of __gcov_reset > > before the while loop. > > > > Can you please

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-28 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #17 from Gejoe --- Created attachment 50882 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50882=edit sample-prog.i file Preprocessed file contents.

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-27 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #16 from Gejoe --- Created attachment 50881 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50881=edit sample-prog.c edited to show __gcov_reset call. The steps used for compiling and running the attached .c file are as

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-27 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #13 from Gejoe --- I modified my sample-prog.c file just by adding a line of __gcov_reset before the while loop. However after a.out run , the sample-prog.c.gcov file was still showing the counters though I didn't give 'g' for

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-26 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #12 from Gejoe --- Thanks for all the info. > Btw. why do you need calling __gcov_dump and __gcov_reset manually? How is > your training run special? Actually I work for a firm where the program runs on a device continually and we

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-25 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #8 from Gejoe --- (In reply to Martin Liška from comment #6) > Yes, __gcov_reset is supposed to be called at the beginning when an > application wants to start > profiling. Again, you don't need to call it manually. But reset

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-25 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #5 from Gejoe --- Running the program: ./a.out g When g is passed, return value is 8 When is passed, return value is 0 r When r is passed, return value is 8 When is passed, return value is 0 << the program is still running,

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-25 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #4 from Gejoe --- (In reply to Martin Liška from comment #3) > > For the second time and then onwards, __gcov_dump() invocation (by giving > > 'g' character during the a.out run) doesn't happen. > > Yes, one can call __gcov_dump

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-25 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 --- Comment #2 from Gejoe --- Created attachment 50866 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50866=edit sample-prog.c file that may be useful for gcov usage test The original sample source file.

[Bug gcov-profile/100751] __gcov_dump and __gcov_reset usage

2021-05-25 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 Gejoe changed: What|Removed |Added CC||gejoed at rediffmail dot com --- Comment #1

[Bug gcov-profile/100751] New: __gcov_dump and __gcov_reset usage

2021-05-25 Thread gejoed at rediffmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751 Bug ID: 100751 Summary: __gcov_dump and __gcov_reset usage Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: