Re: [PR c++/84962] ICE with anon-struct member

2018-03-20 Thread Jason Merrill
On Tue, Mar 20, 2018 at 9:55 AM, Nathan Sidwell wrote: > This fixes the 84962 ICE, which is where we name a member function of an > anon-struct in the width specifier of a bitfield. The problem is that when > permissive we allow some of this strangeness. Prior to my lookup changes, we > only adde

[PR c++/84962] ICE with anon-struct member

2018-03-20 Thread Nathan Sidwell
This fixes the 84962 ICE, which is where we name a member function of an anon-struct in the width specifier of a bitfield. The problem is that when permissive we allow some of this strangeness. Prior to my lookup changes, we only added TYPE_FIELDS and we still do that. Trouble is that now con