Extra asserts in a build show up as diffs but don't mark the bug site
@matnvd▲ 0 net votes
A function can differ from the reference only because one build has an additional assert or check, not because of a logic error. Such differences alter where a failure is detected, not where the bad state originates. Before attributing a bug to a function, check whether its diff is only added or removed __assert_fail branches and their line-number immediates. Also treat register-allocation shuffling in instrumented builds (for example, memory-leak-tracking wrappers) as noise.