Landing: dd723b26663c
Project / Subsystem
gcc / ada
Date
2026-04-17
Author
Eric Botcazou
Commit
dd723b26663c76440ae44e83f0c699240c75b81e
Source
github
Impact
6/10
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- dd723b26663c76440ae44e83f0c699240c75b81e
- source_type
- github
- headline
- Ada: Fix excessive compilation time for decimal literal with large exponent
- tldr
- Fixes a case where compiling decimal literals with large exponents in Ada code took an excessively long time.
- why_it_matters
- Prevents the compiler from hanging indefinitely when processing certain Ada code, improving developer productivity.
- author
- Eric Botcazou
- impact_score
- 6
- impact_rationale
- Fixes a performance issue that could lead to excessive compilation times, but doesn't introduce new features or fix critical errors.
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler
- • performance
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-17T00:00:00.000Z
The compiler could hang when compiling an Ada decimal literal with a large exponent. This commit adds clauses for Ttypes and avoids attempting to convert real literals that don’t fit in Universal_Integer, resolving the issue.