[Bug gcov-profile/112717] .gcda profiles compatibility guarantees between GCC versions

2023-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112717 --- Comment #4 from Andrew Pinski --- My suggestion is only do profiling build right before release. And never store the files in a repo at all. Any changes to the source base will cause the profile to be wrong. Maybe do it as part of a CI

[Bug gcov-profile/112717] .gcda profiles compatibility guarantees between GCC versions

2023-11-26 Thread zamazan4ik at tut dot by via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112717 --- Comment #3 from Alexander Zaitsev --- > I thought this was documented but I don't see. There is no guarantee for > forward or backwards compatibility at all. In fact iirc there is a version > stored in the files to make sure the correct

[Bug gcov-profile/112717] .gcda profiles compatibility guarantees between GCC versions

2023-11-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112717 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2

[Bug gcov-profile/112717] .gcda profiles compatibility guarantees between GCC versions

2023-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112717 --- Comment #1 from Andrew Pinski --- I thought this was documented but I don't see. There is no guarantee for forward or backwards compatibility at all. In fact iirc there is a version stored in the files to make sure the correct version is