Landing: 9c09713871ad

Project / Subsystem

gcc / gcc/gcov

Date

2026-09-15

Author

Jørgen Kvalsvik

Commit

9c09713871ad6d05e1bd2bd65cb3c78c823cb42e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/gcov
patch_id
—
commit_hash
9c09713871ad6d05e1bd2bd65cb3c78c823cb42e
source_type
github
headline
Fix incorrect check in gcov function summary logic
tldr
Corrects a logical error in gcov's function summary reporting that could lead to incorrect output.
author
Jørgen Kvalsvik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gcov
  • • bugfix
  • • coverage
discussion_id_link
—
bugzilla_pr
—
date
2026-09-15T00:00:00.000Z

This commit fixes a bug in gcov.cc where an incorrect condition was used for generating function summaries. The check coverage->calls == 0 was always false, leading to potentially wrong reporting. The fix changes the condition to correctly check calls_suppressed, ensuring accurate summary generation.