[Bug gcov-profile/67937] gcov gives wrong results when negative counts are involved

2016-05-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67937 --- Comment #6 from Jan Hubicka --- We can have negative counters on fake edges in case the code uses abnormal edges that we can't instrument correctly. setjmp/longjmp is one of examples. If you profile kernel, you will have inconsistencies in

[Bug gcov-profile/67937] gcov gives wrong results when negative counts are involved

2016-05-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67937 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug gcov-profile/67937] gcov gives wrong results when negative counts are involved

2015-10-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67937 --- Comment #3 from Richard Biener --- Most interesting would be a C testcase that produces the CFG with the bogus counters ;)

[Bug gcov-profile/67937] gcov gives wrong results when negative counts are involved

2015-10-13 Thread Pidgeot18 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67937 --- Comment #4 from Joshua Cranmer --- (In reply to Richard Biener from comment #3) > Most interesting would be a C testcase that produces the CFG with the bogus > counters ;) Yeah, I know, but doing the minimization on a 5MLOC program takes

[Bug gcov-profile/67937] gcov gives wrong results when negative counts are involved

2015-10-12 Thread Pidgeot18 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67937 --- Comment #2 from Joshua Cranmer --- Created attachment 36486 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36486=edit test-case.gcno And the corresponding .gcno file. The testcase was minimized by bisecting the original .gcda/.gcno

[Bug gcov-profile/67937] gcov gives wrong results when negative counts are involved

2015-10-12 Thread Pidgeot18 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67937 --- Comment #1 from Joshua Cranmer --- Created attachment 36485 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36485=edit test-case.gcda (It's a 4.7 test case, but the file format can still be read with trunk gcov the last I checked.