Landing: ee2e8e17067e
Project / Subsystem
gcc / ada
Date
2026-03-21
Author
Eric Botcazou
Commit
ee2e8e17067e08f65ae832f266f3d158c4fd4485
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- ee2e8e17067e08f65ae832f266f3d158c4fd4485
- source_type
- github
- headline
- Removes Obsolete Return Handling Code
- tldr
- Removes code related to temporary aggregate returns, which are no longer created by the Ada compiler.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • code cleanup
- • obsolete code
- • function return
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-21T00:00:00.000Z
This commit removes an obsolete trick in Analyze_Function_Return within the Ada compiler. The compiler no longer creates a temporary variable for controlled aggregate return values, which makes the existing code unnecessary. Removing the code simplifies the compiler and improves its efficiency.