Landing: a3ac769a5973

Project / Subsystem

gcc / ada

Date

2026-04-30

Author

Eric Botcazou

Commit

a3ac769a5973057b0006a0aca5e754a9dc53e357

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
a3ac769a5973057b0006a0aca5e754a9dc53e357
source_type
github
headline
Ada: Fix build of GNAT tools with coverage enabled
tldr
Fixes the build of GNAT tools when code coverage is enabled.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • gnat
  • build
  • code coverage
discussion_id_link
bugzilla_pr
date
2026-04-30T00:00:00.000Z

This commit fixes a build issue in the Ada compiler (GNAT) when code coverage instrumentation is enabled. It introduces a COVERAGE_FLAGS variable and ensures that these flags are properly passed during the linking and compilation stages of GNAT tools. This resolves issue ada/110336, making it possible to build GNAT tools with code coverage enabled.