Landing: 3aebcc20cbf0
Project / Subsystem
gcc / ada
Date
2026-01-26
Author
Eric Botcazou
Commit
3aebcc20cbf07d58c47a75d1beae6a979d1c0252
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 3aebcc20cbf07d58c47a75d1beae6a979d1c0252
- source_type
- github
- headline
- Refactors task checking in Ada anonymous access returns
- tldr
- Refactors `Check_Anonymous_Access_Return_With_Tasks` to use a predicate for task checking in Ada.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • refactor
- • tasks
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-01-26T00:00:00.000Z
This commit refactors the Check_Anonymous_Access_Return_With_Tasks procedure in the Ada compiler. Instead of using a custom implementation to check for tasks, it now calls the Might_Have_Tasks predicate. This change promotes code reuse and consistency within the compiler.