Landing: 6fd7d49bc86c

Project / Subsystem

gcc / ada

Date

2026-02-19

Author

Ronan Desplanques

Commit

6fd7d49bc86c6ea02b7d35c572f319932abc3e2e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
6fd7d49bc86c6ea02b7d35c572f319932abc3e2e
source_type
github
headline
Simplify Limited Type test
tldr
The Ada compiler's test for limited types is simplified by removing a redundant condition.
author
Ronan Desplanques
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • limited types
  • code simplification
  • cleanup
discussion_id_link
bugzilla_pr
date
2026-02-19T00:00:00.000Z

The Ada compiler’s Is_Limited_Type function was simplified by removing a redundant check. The condition Is_Limited_Composite always implies Is_Limited_Type, making the original disjunction unnecessary. This simplification cleans up the code without altering its behavior.