Re: [PATCH] c++: Failure to lookup using-decl name [PR98231]

2021-01-13 Thread Nathan Sidwell
On 1/13/21 1:38 PM, Marek Polacek wrote: In r11-4690 we removed the call to finish_nonmember_using_decl in tsubst_expr/DECL_EXPR in the USING_DECL block. This was done not to perform name lookup twice for a non-dependent using-decl, which sounds sensible. However, finish_nonmember_using_decl al

[PATCH] c++: Failure to lookup using-decl name [PR98231]

2021-01-13 Thread Marek Polacek via Gcc-patches
In r11-4690 we removed the call to finish_nonmember_using_decl in tsubst_expr/DECL_EXPR in the USING_DECL block. This was done not to perform name lookup twice for a non-dependent using-decl, which sounds sensible. However, finish_nonmember_using_decl also pushes the decl's bindings which we stil