aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-01-22 09:22:56 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2025-01-22 09:22:56 +0100
commit1c402757ca18d91b8979b5ba634fc945dbb8b94b (patch)
treedd128c0fbed78acd67e214a7d0c6bca68dc3f632 /gcc/tree-vectorizer.h
parent303cc73182db5ed367b184df813cd50864c55f83 (diff)
downloadgcc-1c402757ca18d91b8979b5ba634fc945dbb8b94b.zip
gcc-1c402757ca18d91b8979b5ba634fc945dbb8b94b.tar.gz
gcc-1c402757ca18d91b8979b5ba634fc945dbb8b94b.tar.bz2
c++: Introduce append_ctor_to_tree_vector
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 > > /* Expand the CONSTRUCTOR into a new argument vec. */ > > Maybe we could factor out a function called something like > append_ctor_to_tree_vector from the common code between this and > make_tree_vector_from_ctor? > > But this is OK as is if you don't want to pursue that. I had the previous patch already tested and wanted to avoid delaying the large initializer speedup re-reversion any further, so I've committed the patch as is. Here is an incremental patch to factor that out. 2025-01-22 Jakub Jelinek <jakub@redhat.com> gcc/c-family/ * c-common.h (append_ctor_to_tree_vector): Declare. * c-common.cc (append_ctor_to_tree_vector): New function. (make_tree_vector_from_ctor): Use it. gcc/cp/ * call.cc (add_list_candidates): Use append_ctor_to_tree_vector.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions