]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix boostrap failure in tree-ssa-loop-ch.cc
authorJan Hubicka <jh@suse.cz>
Fri, 21 Apr 2023 16:13:35 +0000 (18:13 +0200)
committerJan Hubicka <jh@suse.cz>
Fri, 21 Apr 2023 16:14:52 +0000 (18:14 +0200)
commitf7b9258e0d4127c1f441440c9a9c794295bbbe0f
tree1dd37d8609aa6b30f68b6a9591e3b12f8a00bfc7
parent1fe9bef9f5536e46b901139631863b3b86b97898
Fix boostrap failure in tree-ssa-loop-ch.cc

I managed to mix up patch and its WIP version in previous commit.
This patch adds the missing edge iterator and also fixes a side
case where new loop header would have multiple latches.

gcc/ChangeLog:

* tree-ssa-loop-ch.cc (ch_base::copy_headers): Fix previous
commit.
gcc/tree-ssa-loop-ch.cc