]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix ICE in loop splitting with -fno-guess-branch-probability
authorJan Hubicka <jh@suse.cz>
Wed, 14 Feb 2024 16:37:34 +0000 (17:37 +0100)
committerJan Hubicka <jh@suse.cz>
Wed, 14 Feb 2024 16:37:34 +0000 (17:37 +0100)
commit8d51bfe0f97a27c749c36003867901338833340a
treea39342e5231170b14a73aefe2483be6bf6de5b73
parent16ae5efedd389e8952f35bb10665518c22a9251c
Fix ICE in loop splitting with -fno-guess-branch-probability

PR tree-optimization/111054

gcc/ChangeLog:

* tree-ssa-loop-split.cc (split_loop): Check for profile being present.

gcc/testsuite/ChangeLog:

* gcc.c-torture/compile/pr111054.c: New test.
gcc/testsuite/gcc.c-torture/compile/pr111054.c [new file with mode: 0644]
gcc/tree-ssa-loop-split.cc