Landing: 79e5f790e70a

Project / Subsystem

gcc / gccrs

Date

2026-06-29

Author

Philip Herron

Commit

79e5f790e70a3a090cf0b43d1bac4a42c18dc4f0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
commit_hash
79e5f790e70a3a090cf0b43d1bac4a42c18dc4f0
source_type
github
headline
gccrs: Fix crash when resolving invalid enum item
tldr
gccrs now validates enum items to prevent crashes during type checking.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gccrs
  • bugfix
  • typechecking
discussion_id_link
bugzilla_pr
date
2026-06-29T00:00:00.000Z

This commit addresses a crash in gccrs that occurred when resolving invalid enum items. A check for valid enum items has been added to rust-hir-type-check-item.cc to improve robustness.