Re: [PATCH v2] c++: disable -Wnonnull in unevaluated context [PR115580]

2025-03-05 Thread Jason Merrill
On 3/5/25 10:50 AM, Marek Polacek wrote: On Tue, Mar 04, 2025 at 04:41:05PM -0500, Jason Merrill wrote: On 3/4/25 3:26 PM, Marek Polacek wrote: Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? -- >8 -- This PR complains that we issue a -Wnonnull even in a decltype. Since we can't u

[PATCH v2] c++: disable -Wnonnull in unevaluated context [PR115580]

2025-03-05 Thread Marek Polacek
On Tue, Mar 04, 2025 at 04:41:05PM -0500, Jason Merrill wrote: > On 3/4/25 3:26 PM, Marek Polacek wrote: > > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? > > > > -- >8 -- > > This PR complains that we issue a -Wnonnull even in a decltype. > > Since we can't use cp_unevaluated_opera