Landing: 39356a099330

Project / Subsystem

gcc / gccrs

Date

2026-04-18

Author

Philip Herron

Commit

39356a0993305fb65d04c45c85749df694edefa5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
commit_hash
39356a0993305fb65d04c45c85749df694edefa5
source_type
github
headline
gccrs: Fix ICE when identifier is a lang item
tldr
Compiler crash fixed when an identifier mistakenly refers to a language item.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gccrs
  • compiler error
discussion_id_link
bugzilla_pr
date
2026-04-18T00:00:00.000Z

This commit resolves an Internal Compiler Error (ICE) in gccrs that occurred when an identifier was incorrectly treated as a language item. The fix involves adding a check in TokenCollector::visit to correctly handle such cases.