Landing: 8dab655e3950
Project / Subsystem
gcc / gccrs
Date
2026-09-07
Author
Philip Herron
Commit
8dab655e395088f889069af3e92f03e87639f38b
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 8dab655e395088f889069af3e92f03e87639f38b
- source_type
- github
- headline
- gccrs: Use std::move to reduce copy constructor usage.
- tldr
- Reduces unnecessary object copies in type-bound predicate handling.
- author
- Philip Herron
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • optimization
- • rustc
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-07T00:00:00.000Z
This commit refactors several type-checking functions within gccrs to use std::move instead of direct copying. This change aims to reduce the usage of copy constructors for type-bound predicates, potentially improving performance by avoiding redundant object creations and copies during the type-checking process.