On 2025-Oct-22, Tom Lane wrote:
> Interesting.  I also realized, after re-reading the snippet I showed,
> that gcc is treating the code leading up to a CALL instruction as a
> separate basic block from the code following the CALL.  So that begs
> the question of which count is shown for the function call's line
> at the source-code level.  It'd only differ when the function throws
> an error, presumably.
Maybe we should give up on GCC and use clang for the coverage report?
-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"La gente vulgar sólo piensa en pasar el tiempo;
el que tiene talento, en aprovecharlo"