Landing: 5582d982396a

Project / Subsystem

gcc / ada

Date

2026-03-17

Author

Viljar Indus

Commit

5582d982396a372e583077ff6716fb40896614da

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
5582d982396a372e583077ff6716fb40896614da
source_type
github
headline
Ada: Avoid spurious resolution errors in inlined static functions
tldr
Fixes spurious resolution errors by unsetting Comes_From_Source in inlined static Ada functions.
author
Viljar Indus
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • compiler
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-03-17T00:00:00.000Z

This commit addresses a problem in the Ada compiler where inlined static functions were incorrectly inheriting the Comes_From_Source flag. This led to spurious resolution errors during compilation. The fix involves unsetting this flag in the inlined expression, ensuring correct resolution and removing false error reports.