Landing: dd4f1071fae2

Project / Subsystem

gcc / gccrs

Date

2026-08-23

Author

Philip Herron

Commit

dd4f1071fae28e66f6eb342d77a7842ba835bd56

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
dd4f1071fae28e66f6eb342d77a7842ba835bd56
source_type
github
headline
Fix ICE when handling optional return types in gccrs
tldr
gccrs resolves an ICE that occurred when dealing with optional return types.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • rust
  • • compiler
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-23T00:00:00.000Z

An Internal Compiler Error (ICE) in gccrs, triggered by optional return types, has been resolved. The fix involves adding a guard in the hir/rust-hir-dump.cc file to handle these cases correctly. This addresses issue #4814.