Landing: a566f9efe165

Project / Subsystem

gcc / gcc/gcov

Date

2026-09-19

Author

Jørgen Kvalsvik

Commit

a566f9efe1652b294e424e21e9910de2a011f4f1

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/gcov
patch_id
—
commit_hash
a566f9efe1652b294e424e21e9910de2a011f4f1
source_type
github
headline
Fix function summaries with suppressed blocks
tldr
Corrects gcov's function summary output for suppressed code blocks.
author
Jørgen Kvalsvik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gcov
  • • coverage
  • • testing
discussion_id_link
—
bugzilla_pr
—
date
2026-09-19T00:00:00.000Z

This commit fixes two issues in gcov’s function summary generation. It corrects the coverage.paths field to use the correct count, preventing incorrect output like ‘0.00% of -1’. It also adds a missing else condition to prevent ‘No conditions’ from being printed inappropriately.