Landing: 091a150a8a51
Project / Subsystem
gcc / c++
Date
2026-08-06
Author
Jakub Jelinek
Commit
091a150a8a51bc953906d3da2a1a09d83fc36633
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- c++
- patch_id
- —
- commit_hash
- 091a150a8a51bc953906d3da2a1a09d83fc36633
- source_type
- github
- headline
- C++: Fix structured binding pack instantiation ICE.
- tldr
- Resolves an internal compiler error when instantiating structured bindings with argument packs.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • compiler bug
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-06T00:00:00.000Z
This change fixes an internal compiler error (ICE) occurring during the instantiation of structured bindings that involve argument packs. The error happened because a function expected a declaration of a decomposition type but received an argument pack select instead. The fix modifies the code to correctly handle both possibilities, preventing the assertion failure.