[Bug gcov-profile/85201] [GCOV] A statement with two && operators and a comma operator in the for loop body is wrongly marked in gcov

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85201

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #8 from Sunil Kumar  ---
Hi Jakub/Martin, 

In gcc version 7.4.0, The line #6 is marked as '-'. can you please confirm the
gcc behaviour.

[Bug gcov-profile/85349] [GCOV] struct varaible definition in while(1) will cause incorrect coverage

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85349

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #5 from Sunil Kumar  ---
For first braces of while loop is marked as '-' and for second while loop also
same in gcc version 7.4.0. Please can you confirm the gcc behaviour.

[Bug gcov-profile/85276] [GCOV] A comparative statement with '=', '&&' , '||', and '==' operators is wrongly marked as executed twice in gcov

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85276

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #6 from Sunil Kumar  ---
Line #3 is properly marked as executed once in gcc verion 7.4.0. Please let me
know your opinion.

[Bug gcov-profile/85225] [GCOV] An array reference in the for(;;) loop will lead the loop has incorrect execution times in gcov

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85225

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #6 from Sunil Kumar  ---
Executed same code in gcc version 7.4.0, The line #3 is marked as '-'. The
coverage count for infinite loop is not detected

[Bug gcov-profile/90066] [GCOV] function with inline attribute leading to incorrect coverage for the "if" statement

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90066

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #2 from Sunil Kumar  ---
Without uncommenting line #15, The line #14 is marked as executed once in gcc
version 7.4.0. Is that issue available in 8.2.0 and later verison.

[Bug gcov-profile/85336] [GCOV] wrong coverage for builtin functions and "||" logic operators in return statement

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85336

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #6 from Sunil Kumar  ---
In gcc version 7.4.0, Line #6, #7, #8, #9 are marked as 2, 2, 3, 2. Can you
confirm me how line #7 got executed 3 times

[Bug gcov-profile/85199] [GCOV] A cond-expr with a iterative variable in a for loop is marked as "-" in gcov

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85199

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #6 from Sunil Kumar  ---
In gcc version 7.4.0 line #4, #5 and #6 are marked as executed 1,2 and '-'.
Please let me know your comment.

[Bug gcov-profile/85206] [GCOV] a return statement in the body of for(;0;) loop is wrongly marked as executed in gcov

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85206

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #3 from Sunil Kumar  ---
No malfunction is detected in gcc version 7.4.0

[Bug gcov-profile/90023] The coverage of a label is incorrect when it is after a return statement and followed by a blank statement

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90023

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #2 from Sunil Kumar  ---
In gcc version 7.4.0 line #10 is marked as executed once and still block with
empty case is marked as executed once.

[Bug gcov-profile/90104] [GCOV] Wrong coverage for calling a function with variable arguments when they are embedded in a inline function

2020-11-27 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90104

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #2 from Sunil Kumar  ---
Line #9 is correctly marked as executed once in gcc 7.4.0. Please let us know
your comment.

[Bug gcov-profile/89469] [GCOV] wrong frequencies for the first statement in the for(;;) block

2020-11-26 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89469

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #2 from Sunil Kumar  ---
I have executed same code in gcc 7.4.0 in gcov test suite, Line #5 and #6 are
marked as 3 and 2 times. Please let me know your opinion on gcc.

[Bug gcov-profile/85163] [GCOV] A call statement with '==' , '||', and '&&' operators is wrongly marked as executed twice

2020-11-26 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85163

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #3 from Sunil Kumar  ---
I have executed same code on gcc 7.4.0 and line number #11 is properly marked
as executed once.. please let me know your comment on gcc behaviour.

[Bug gcov-profile/93680] [GCOV] "do-while" structure in case statement leads to incorrect code coverage

2020-11-25 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93680

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #2 from Sunil Kumar  ---
I have executed same code in gcc 7.4.0 and i do not see the same behaviour. The
case labels are properly marked as executed 5 times. please can you confirm
this behaviour. And also the issues which are open items in gcov bugzilla list
and reported in later gcc 7.4.0 version will those are applicable to gcc 7.4.0
?

[Bug gcov-profile/90439] [GCOV] multiple expression across different lines in if statement is inconsistent when the body is empty

2020-10-08 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90439

Sunil Kumar  changed:

   What|Removed |Added

 CC||sunil.kumar3 at ltts dot com

--- Comment #1 from Sunil Kumar  ---
I have a query. Will this issue is applicable for GCC 7.4.0 ?