Landing: d7a7947b8955
Project / Subsystem
gcc / modula2
Date
2026-09-21
Author
Gaius Mulley
Commit
d7a7947b89556aa3269d3b288ca7326584ae292f
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- modula2
- patch_id
- —
- commit_hash
- d7a7947b89556aa3269d3b288ca7326584ae292f
- source_type
- github
- headline
- Fix ICE for Modula-2 aggregate records with array fields
- tldr
- Compiles Modula-2 code with aggregate records containing array fields, resolving an ICE.
- author
- Gaius Mulley
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • modula2
- • compiler bug
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-21T00:00:00.000Z
A compiler internal error (ICE) occurred when compiling Modula-2 code that used aggregate records with array fields. This patch adds a check for a null symbol type during type building, preventing the error. The compiler now correctly handles these structures and generates an error message if a type name is missing.