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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67937
Jan Hubicka changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
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 ;)
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
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
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.