Re: [PATCH] c++: Introduce append_ctor_to_tree_vector

2025-01-21 Thread Jakub Jelinek
On Tue, Jan 21, 2025 at 05:21:52PM -0500, Jason Merrill wrote: > > + v should be initialized with make_tree_vector (); followed by > > + vec_safe_reserve (v, nelts); or equivalently vec_alloc (v, nelts); > > + optionally followed by pushes of other elements (up to > > + nelts - CONSTRUCTOR_

Re: [PATCH] c++: Introduce append_ctor_to_tree_vector

2025-01-21 Thread Jason Merrill
On 1/21/25 5:02 PM, Jakub Jelinek wrote: On Tue, Jan 21, 2025 at 04:39:58PM -0500, Jason Merrill wrote: On 1/21/25 11:15 AM, Jakub Jelinek wrote: On Tue, Jan 21, 2025 at 11:06:35AM -0500, Jason Merrill wrote: --- gcc/c-family/c-common.cc.jj 2025-01-20 18:00:35.667875671 +0100 +++ gcc/c-family/

Re: [PATCH] c++: Introduce append_ctor_to_tree_vector

2025-01-21 Thread Jakub Jelinek
On Tue, Jan 21, 2025 at 04:39:58PM -0500, Jason Merrill wrote: > On 1/21/25 11:15 AM, Jakub Jelinek wrote: > > On Tue, Jan 21, 2025 at 11:06:35AM -0500, Jason Merrill wrote: > > > > --- gcc/c-family/c-common.cc.jj 2025-01-20 18:00:35.667875671 +0100 > > > > +++ gcc/c-family/c-common.cc2025-01-2

Re: [PATCH] c++: Introduce append_ctor_to_tree_vector

2025-01-21 Thread Jason Merrill
On 1/21/25 11:15 AM, Jakub Jelinek wrote: On Tue, Jan 21, 2025 at 11:06:35AM -0500, Jason Merrill wrote: --- gcc/c-family/c-common.cc.jj 2025-01-20 18:00:35.667875671 +0100 +++ gcc/c-family/c-common.cc2025-01-21 09:29:23.955582581 +0100 @@ -9010,33 +9010,46 @@ make_tree_vector_from_list (tre

Re: [PATCH] c++: Introduce append_ctor_to_tree_vector

2025-01-21 Thread Jakub Jelinek
On Tue, Jan 21, 2025 at 05:15:17PM +0100, Jakub Jelinek wrote: > On Tue, Jan 21, 2025 at 11:06:35AM -0500, Jason Merrill wrote: > > > --- gcc/c-family/c-common.cc.jj 2025-01-20 18:00:35.667875671 +0100 > > > +++ gcc/c-family/c-common.cc 2025-01-21 09:29:23.955582581 +0100 > > > @@ -9010,33 +

Re: [PATCH] c++: Introduce append_ctor_to_tree_vector

2025-01-21 Thread Jakub Jelinek
On Tue, Jan 21, 2025 at 11:06:35AM -0500, Jason Merrill wrote: > > --- gcc/c-family/c-common.cc.jj 2025-01-20 18:00:35.667875671 +0100 > > +++ gcc/c-family/c-common.cc2025-01-21 09:29:23.955582581 +0100 > > @@ -9010,33 +9010,46 @@ make_tree_vector_from_list (tree list) > > return re

Re: [PATCH] c++: Introduce append_ctor_to_tree_vector

2025-01-21 Thread Jason Merrill
On 1/21/25 10:52 AM, Jakub Jelinek wrote: On Mon, Jan 20, 2025 at 05:14:33PM -0500, Jason Merrill wrote: --- gcc/cp/call.cc.jj 2025-01-15 18:24:36.135503866 +0100 +++ gcc/cp/call.cc 2025-01-17 14:42:38.201643385 +0100 @@ -4258,11 +4258,30 @@ add_list_candidates (tree fns, tree firs /