[Bug gcov-profile/117415] Bogus execution count for assignment to *func()

2024-11-02 Thread j at lambda dot is via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117415 --- Comment #3 from Jørgen Kvalsvik --- >From a quick look it seems like the problem is fundamentally the difference in how gcc counts executions (on the basic block) and how that is mapped to lines. I don't know if there a complete fix if the e

[Bug gcov-profile/117415] Bogus execution count for assignment to *func()

2024-11-01 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117415 --- Comment #2 from Wentao Zhang --- (In reply to Andrew Pinski from comment #1) > I think this is the same underlying issue as PR 117412. Hi Andrew, thanks for your reply! In practice we've seen many such cases caused by multi-line expression

[Bug gcov-profile/117415] Bogus execution count for assignment to *func()

2024-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117415 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill