Re: [PATCH] c++: Fix up handling of structured bindings in extract_locals_r [PR99833]

2021-04-15 Thread Jason Merrill via Gcc-patches
On 4/14/21 3:10 PM, Jakub Jelinek wrote: Hi! The following testcase ICEs in tsubst_decomp_names because the assumptions that the structured binding artificial var is followed in DECL_CHAIN by the corresponding structured binding vars is violated. I've tracked it to extract_locals* which is done

[PATCH] c++: Fix up handling of structured bindings in extract_locals_r [PR99833]

2021-04-14 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs in tsubst_decomp_names because the assumptions that the structured binding artificial var is followed in DECL_CHAIN by the corresponding structured binding vars is violated. I've tracked it to extract_locals* which is done for the constexpr IF_STMT. extract_locals_