Re: [PATCH] c++: fix wrong ambiguity resolution [PR29834]

2024-07-23 Thread Marek Polacek
On Tue, Jul 23, 2024 at 05:12:14PM -0400, Jason Merrill wrote: > On 7/23/24 4:18 PM, Marek Polacek wrote: > > On Tue, Jul 23, 2024 at 12:53:07AM -0400, Jason Merrill wrote: > > > On 7/20/24 2:31 PM, Marek Polacek wrote: > > > > [ Entering the contest to fix the oldest PR in this cycle. ] > > > > >

Re: [PATCH] c++: fix wrong ambiguity resolution [PR29834]

2024-07-23 Thread Jason Merrill
On 7/23/24 4:18 PM, Marek Polacek wrote: On Tue, Jul 23, 2024 at 12:53:07AM -0400, Jason Merrill wrote: On 7/20/24 2:31 PM, Marek Polacek wrote: [ Entering the contest to fix the oldest PR in this cycle. ] Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? -- >8 -- This 18-year-old

Re: [PATCH] c++: fix wrong ambiguity resolution [PR29834]

2024-07-23 Thread Marek Polacek
On Tue, Jul 23, 2024 at 12:53:07AM -0400, Jason Merrill wrote: > On 7/20/24 2:31 PM, Marek Polacek wrote: > > [ Entering the contest to fix the oldest PR in this cycle. ] > > > > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? > > > > -- >8 -- > > This 18-year-old PR reports that we

Re: [PATCH] c++: fix wrong ambiguity resolution [PR29834]

2024-07-22 Thread Jason Merrill
On 7/20/24 2:31 PM, Marek Polacek wrote: [ Entering the contest to fix the oldest PR in this cycle. ] Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? -- >8 -- This 18-year-old PR reports that we parse certain comma expressions as a declaration rather than statement when the stateme

[PATCH] c++: fix wrong ambiguity resolution [PR29834]

2024-07-20 Thread Marek Polacek
[ Entering the contest to fix the oldest PR in this cycle. ] Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? -- >8 -- This 18-year-old PR reports that we parse certain comma expressions as a declaration rather than statement when the statement begins with a functional-style cast expr