Landing: 9dab90d53198
Project / Subsystem
gcc / gcov
Date
2026-07-16
Author
Sebastian Huber
Commit
9dab90d53198b050b594756a39d5097e62821a1c
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcov
- patch_id
- —
- commit_hash
- 9dab90d53198b050b594756a39d5097e62821a1c
- source_type
- github
- headline
- gcov: Build edge updates in a local sequence
- tldr
- Gcov condition coverage generation now batches updates to edges for improved performance.
- author
- Sebastian Huber
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gcov
- • optimization
- • code coverage
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-16T00:00:00.000Z
This change optimizes gcov’s condition coverage instrumentation by accumulating edge updates in a local gimple_seq before emitting them. Previously, individual statements were inserted directly onto edges, leading to repeated operations for the same edge. By building a sequence and inserting it once, this change reduces redundant work and improves the efficiency of code generation for coverage analysis.