From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 517473858435; Tue, 7 Dec 2021 16:49:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 517473858435 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Do not use auto_vec when passing.. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/loop-unswitch-improvement-v7 X-Git-Oldrev: 79bba3d5262bae7f431c0ded0cdf1c5193e23801 X-Git-Newrev: 0302c6bebcac2dcdc011eab1790881265fc87f99 Message-Id: <20211207164951.517473858435@sourceware.org> Date: Tue, 7 Dec 2021 16:49:51 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2021 16:49:51 -0000 https://gcc.gnu.org/g:0302c6bebcac2dcdc011eab1790881265fc87f99 commit 0302c6bebcac2dcdc011eab1790881265fc87f99 Author: Martin Liska Date: Wed Dec 1 15:13:31 2021 +0100 Do not use auto_vec when passing.. Diff: --- gcc/tree-ssa-loop-unswitch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index d6412bd49aa..5b625206945 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -100,7 +100,8 @@ static vec> *bb_predicates = NULL; static gimple_ranger *ranger = NULL; /* The type represents a predicate path leading to a basic block. */ -typedef auto_vec> predicate_vector; +typedef vec> auto_predicate_vector; +typedef vec> predicate_vector; static class loop *tree_unswitch_loop (class loop *, basic_block, tree); static bool tree_unswitch_single_loop (class loop *, int, @@ -199,7 +200,7 @@ tree_ssa_unswitch_loops (void) unsigned int budget = init_loop_unswitch_info (loop) + param_max_unswitch_insns; - predicate_vector predicate_path; + auto_predicate_vector predicate_path; changed |= tree_unswitch_single_loop (loop, 0, predicate_path, budget);