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

2021-01-20 Thread Jason Merrill via Gcc-patches
On 1/20/21 7:49 PM, Marek Polacek wrote: On Tue, Jan 19, 2021 at 03:37:25PM -0500, Jason Merrill wrote: On 1/12/21 9:13 PM, Marek Polacek wrote: Another ICE with delayed noexcept parsing, but a bit gnarlier. A function definition marked with __attribute__((used)) ought to be emitted even when

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

2021-01-20 Thread Marek Polacek via Gcc-patches
On Tue, Jan 19, 2021 at 03:37:25PM -0500, Jason Merrill wrote: > On 1/12/21 9:13 PM, Marek Polacek wrote: > > Another ICE with delayed noexcept parsing, but a bit gnarlier. > > > > A function definition marked with __attribute__((used)) ought to be > > emitted even when it is not referenced in a