Landing: a04da45d8722

Project / Subsystem

gcc / gccrs

Date

2026-08-23

Author

Philip Herron

Commit

a04da45d8722e4a9eae4b2d1e995ff9b8f658751

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
a04da45d8722e4a9eae4b2d1e995ff9b8f658751
source_type
github
headline
gccrs: Add walker for unconstrained type parameters in const generics
tldr
Adds a walker to gccrs to handle unconstrained type parameters in const generics, fixing Rust-GCC/gccrs#4805.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • generics
  • • typechecking
discussion_id_link
—
bugzilla_pr
—
date
2026-08-23T00:00:00.000Z

This commit introduces a walker for unconstrained type parameters within const generics in the gccrs compiler. This change addresses an issue where these parameters were not being properly handled, leading to incorrect behavior. A new test case, issue-4805.rs, is included to verify the fix.