Landing: 5ff1facfba55
Project / Subsystem
gcc / ada
Date
2026-07-31
Author
Eric Botcazou
Commit
5ff1facfba558514eae0efaeb70adb91b6c32a5f
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 5ff1facfba558514eae0efaeb70adb91b6c32a5f
- source_type
- github
- headline
- Ada: Fix validity check for function calls with 'Value attribute.
- tldr
- Fixes a bogus error in Ada's validity checking for function calls involving 'Value and -gnatVa.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-31T00:00:00.000Z
This change corrects an error in the Ada compiler’s validity checking mechanism when the ‘-gnatVa’ flag is used. Specifically, it addresses an issue where a bogus error was reported for function calls that return a value and also involve an ‘In Out’ or ‘Out’ parameter. The fix ensures the copy-out statement for these parameters is inserted correctly.