Landing: 7fc31aa3530a
Project / Subsystem
gcc / gcc
Date
2026-09-21
Author
Eric Botcazou
Commit
7fc31aa3530a80252e4a7859c375b305e6f6aaec
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 7fc31aa3530a80252e4a7859c375b305e6f6aaec
- source_type
- github
- headline
- Fix debug info for bit-packed Ada arrays with reverse storage order
- tldr
- Correct debug information is now generated for bit-packed Ada arrays using reverse storage order.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gcc
- • ada
- • debuginfo
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-21T00:00:00.000Z
GCC generated incorrect debug information for Ada bit-packed array types when they used a reverse storage order. These types are internally represented as modular integer types, and the debug info lacked accurate information about their storage arrangement. This commit introduces a reverse_storage_order field to the array_descr_info structure and ensures it is correctly populated by the Ada front-end, fixing the debug info inaccuracies.