Landing: 3a578f6fcb8b
Project / Subsystem
gcc / gcc/cp-tree
Date
2026-06-19
Author
Arsen Arsenović
Commit
3a578f6fcb8b9e1b84584dc8a789dafa80c9e2ae
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/cp-tree
- patch_id
- —
- commit_hash
- 3a578f6fcb8b9e1b84584dc8a789dafa80c9e2ae
- source_type
- github
- headline
- Require temp_override to deduce on first constructor argument
- tldr
- Ensure temp_override deduces its type from the first constructor argument for better type conversions.
- author
- Arsen Arsenović
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • type deduction
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-19T00:00:00.000Z
The temp_override mechanism in GCC’s C++ front-end now requires deduction from the first constructor argument. This change aims to enforce a conversion to the correct type for the variable being overridden. While deemed unnecessary in the end, it may offer utility for other scenarios.