Re: [PATCH] c++: ICE with ptr-to-member-fn [PR119344]

2025-03-18 Thread Jason Merrill
On 3/18/25 3:12 PM, Marek Polacek wrote: On Tue, Mar 18, 2025 at 03:05:57PM -0400, Patrick Palka wrote: On Tue, 18 Mar 2025, Marek Polacek wrote: Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? -- >8 -- This ICE appeared with the removal of NON_DEPENDENT_EXPR. Previously skip

Re: [PATCH] c++: ICE with ptr-to-member-fn [PR119344]

2025-03-18 Thread Marek Polacek
On Tue, Mar 18, 2025 at 03:05:57PM -0400, Patrick Palka wrote: > On Tue, 18 Mar 2025, Marek Polacek wrote: > > > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? > > > > -- >8 -- > > This ICE appeared with the removal of NON_DEPENDENT_EXPR. Previously > > skip_simple_arithmetic wo

Re: [PATCH] c++: ICE with ptr-to-member-fn [PR119344]

2025-03-18 Thread Patrick Palka
On Tue, 18 Mar 2025, Marek Polacek wrote: > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? > > -- >8 -- > This ICE appeared with the removal of NON_DEPENDENT_EXPR. Previously > skip_simple_arithmetic would get NON_DEPENDENT_EXPR> and > since NON_DEPENDENT_EXPR is neither BINARY_

[PATCH] c++: ICE with ptr-to-member-fn [PR119344]

2025-03-18 Thread Marek Polacek
Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? -- >8 -- This ICE appeared with the removal of NON_DEPENDENT_EXPR. Previously skip_simple_arithmetic would get NON_DEPENDENT_EXPR> and since NON_DEPENDENT_EXPR is neither BINARY_CLASS_P nor UNARY_CLASS_P, there was no problem. But n