public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/loop-unswitch-improvement)] Add missing update_stmt.
@ 2021-11-22 12:45 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-22 12:45 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6057f4886c607528ebf2153ad74d9b3f2f10259a
commit 6057f4886c607528ebf2153ad74d9b3f2f10259a
Author: Martin Liska <mliska@suse.cz>
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-22 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 12:45 [gcc(refs/users/marxin/heads/loop-unswitch-improvement)] Add missing update_stmt Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).