Landing: 2f11d2d75032

Project / Subsystem

gcc / gccrs

Date

2026-09-08

Author

Philip Herron

Commit

2f11d2d7503283c1cdf79cd873868e581711e8d0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
2f11d2d7503283c1cdf79cd873868e581711e8d0
source_type
github
headline
Adds missing isize and usize as valid options
tldr
GCC Rust now correctly recognizes `isize` and `usize` as valid integer types in expression type checking.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • rust
  • • type-checking
  • • integers
discussion_id_link
—
bugzilla_pr
—
date
2026-09-08T00:00:00.000Z

This commit updates GCC Rust’s expression type checker to include isize and usize as valid options. Previously, these fundamental Rust integer types might have been missing from certain checks, potentially leading to errors or incorrect type inference. This ensures proper handling of these types in various expression contexts.