Re: [PATCH v3] c++: ICE with delayed noexcept and attribute used [PR97966]

2021-01-21 Thread Jason Merrill via Gcc-patches
On 1/21/21 10:39 AM, Marek Polacek wrote: On Thu, Jan 21, 2021 at 01:55:24AM -0500, Jason Merrill wrote: + /* Now that we've gone through all the members, instantiate those + marked with attribute used. */ + for (tree &x : used) This doesn't need to be a reference. And I think we want

Re: [PATCH v3] c++: ICE with delayed noexcept and attribute used [PR97966]

2021-01-21 Thread Marek Polacek via Gcc-patches
On Thu, Jan 21, 2021 at 01:55:24AM -0500, Jason Merrill wrote: > > + /* Now that we've gone through all the members, instantiate those > > + marked with attribute used. */ > > + for (tree &x : used) > > This doesn't need to be a reference. And I think we want this to happen > even later, a