Re: [PATCH] c++: ICE with USING_DECL redeclaration [PR98687]

2021-01-18 Thread Jason Merrill via Gcc-patches
On 1/15/21 12:26 AM, Marek Polacek wrote: My recent patch that introduced push_using_decl_bindings didn't handle USING_DECL redeclaration, therefore things broke. This patch amends that. Note that I don't know if the other parts of finish_nonmember_using_decl are needed (e.g. the binding->type

[PATCH] c++: ICE with USING_DECL redeclaration [PR98687]

2021-01-14 Thread Marek Polacek via Gcc-patches
My recent patch that introduced push_using_decl_bindings didn't handle USING_DECL redeclaration, therefore things broke. This patch amends that. Note that I don't know if the other parts of finish_nonmember_using_decl are needed (e.g. the binding->type setting) -- I couldn't trigger it by any of