Landing: 4a04226a3600

Project / Subsystem

gcc / gccrs

Date

2026-06-24

Author

Philip Herron

Commit

4a04226a360057f555cc8bc3577f93501a728896

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
commit_hash
4a04226a360057f555cc8bc3577f93501a728896
source_type
github
headline
gccrs: Fix ICE when handling offset on types with unknown size
tldr
Compiler crash fixed when calculating offsets on unknown-sized types, with improved diagnostic information.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gccrs
  • compiler error
  • diagnostics
discussion_id_link
bugzilla_pr
date
2026-06-24T00:00:00.000Z

This patch resolves an Internal Compiler Error (ICE) occurring when gccrs attempts to handle offsets on types with unknown sizes. It also enhances diagnostic capabilities by threading the expression location through intrinsic calls.