Re: [C++ PATCH] Fix tsubst of structured bindings (PR c++/86836)

2018-08-05 Thread Jason Merrill
OK. On Sat, Aug 4, 2018 at 1:54 AM, Jakub Jelinek wrote: > Hi! > > As mentioned in the PR, for valid structured bindings this patch should be > unnecessary, because the identifiers from the structured binding shouldn't > be used in the initializer of the structured binding, but for invalid source

[C++ PATCH] Fix tsubst of structured bindings (PR c++/86836)

2018-08-03 Thread Jakub Jelinek
Hi! As mentioned in the PR, for valid structured bindings this patch should be unnecessary, because the identifiers from the structured binding shouldn't be used in the initializer of the structured binding, but for invalid source it can matter. When tsubst_init is called before tsubst_decomp_nam