Landing: e8c240bb2d3b

Project / Subsystem

gcc / ada

Date

2026-02-05

Author

Javier Miranda

Commit

e8c240bb2d3b00f587a4055761716d17ec3076a9

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
e8c240bb2d3b00f587a4055761716d17ec3076a9
source_type
github
headline
Fix recursion calls in Remove_Side_Effects
tldr
This commit fixes a latent issue in the Ada compiler's `Remove_Side_Effects` routine related to recursion calls.
author
Javier Miranda
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • bugfix
  • optimization
discussion_id_link
bugzilla_pr
date
2026-02-05T00:00:00.000Z

A latent problem in the Ada compiler’s Remove_Side_Effects routine, introduced when the Renaming_Req formal was added, has been resolved. This issue affected recursion calls within the routine. The fix ensures proper propagation of actual parameters during recursion, except for side-effect free attributes whose expressions are also side-effect free, improving the behavior of this routine without introducing functional changes.