Re: c++: Hash table iteration for namespace-member spelling suggestions

2020-10-05 Thread Nathan Sidwell
On 10/5/20 5:48 AM, Christophe Lyon wrote: On Fri, 2 Oct 2020 at 20:23, Nathan Sidwell wrote: Hi Nathan, This is causing regressions on aarch64 and arm when using -mfloat-abi=hard (or configuring for arm-linux-gnueabihf). The logs says: FAIL: c-c++-common/spellcheck-reserved.c -std=gnu++9

Re: c++: Hash table iteration for namespace-member spelling suggestions

2020-10-05 Thread Jakub Jelinek via Gcc-patches
On Mon, Oct 05, 2020 at 11:48:32AM +0200, Christophe Lyon via Gcc-patches wrote: > > For 'no such binding' errors, we iterate over binding levels to find a > > close match. At the namespace level we were using DECL_ANTICIPATED to > > skip undeclared builtins. But (a) there are other unnameable th

Re: c++: Hash table iteration for namespace-member spelling suggestions

2020-10-05 Thread Christophe Lyon via Gcc-patches
On Fri, 2 Oct 2020 at 20:23, Nathan Sidwell wrote: > > > For 'no such binding' errors, we iterate over binding levels to find a > close match. At the namespace level we were using DECL_ANTICIPATED to > skip undeclared builtins. But (a) there are other unnameable things > there and (b) decl-antic

c++: Hash table iteration for namespace-member spelling suggestions

2020-10-02 Thread Nathan Sidwell
For 'no such binding' errors, we iterate over binding levels to find a close match. At the namespace level we were using DECL_ANTICIPATED to skip undeclared builtins. But (a) there are other unnameable things there and (b) decl-anticipated is about to go away. This changes the namespace scanni