Landing: 8ac1edb96bc5

Project / Subsystem

gcc / gccrs

Date

2026-08-23

Author

Philip Herron

Commit

8ac1edb96bc5f138212e5a26263ea8a4eddc7f48

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
8ac1edb96bc5f138212e5a26263ea8a4eddc7f48
source_type
github
headline
gccrs: Fix projection normalization logic
tldr
Corrects projection normalization in gccrs to handle non-trait position projections resolving to generics, fixing Rust-GCC/gccrs#4804.
author
Philip Herron
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • typechecking
  • • generics
discussion_id_link
—
bugzilla_pr
—
date
2026-08-23T00:00:00.000Z

This commit refactors the projection normalization logic in gccrs to correctly handle cases where non-trait position projections might resolve to generics. Previously, this could lead to incorrect base types being used for projections. The fix is verified with a new test case, issue-4804.rs.