From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 9B960385841D; Mon, 22 Nov 2021 12:45:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B960385841D 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)] Add missing update_stmt. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/loop-unswitch-improvement X-Git-Oldrev: f6e8549b871b677bcecd9aa3e05ead8bace8fbea X-Git-Newrev: 6057f4886c607528ebf2153ad74d9b3f2f10259a Message-Id: <20211122124518.9B960385841D@sourceware.org> Date: Mon, 22 Nov 2021 12:45:18 +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: Mon, 22 Nov 2021 12:45:18 -0000 https://gcc.gnu.org/g:6057f4886c607528ebf2153ad74d9b3f2f10259a commit 6057f4886c607528ebf2153ad74d9b3f2f10259a Author: Martin Liska Date: Mon Nov 22 13:43:53 2021 +0100 Add missing update_stmt. Diff: --- gcc/tree-ssa-loop-unswitch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index aafb6dfb551..92b94e581ff 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -334,6 +334,7 @@ find_all_unswitching_predicates (class loop *loop, basic_block *bbs, else gimple_cond_set_condition_from_tree (cond, boolean_false_node); + update_stmt (cond); delete predicate; predicate = NULL; changed = true;