Handle loops with loop->latch == NULL (PR gcov-profile/71868)
commit5bf658d62e694980a3b5a464be793a0c5da593ee
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Jul 2016 10:56:08 +0000 (25 10:56 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Jul 2016 10:56:08 +0000 (25 10:56 +0000)
tree0f82732086e16bd62553ae60fc855f592b627baa
parent118c9b7a108c6a08d827b58cb1e271a8742094de
Handle loops with loop->latch == NULL (PR gcov-profile/71868)

PR gcov-profile/71868
* cfgloopanal.c (expected_loop_iterations_unbounded): When we
have a function with multiple latches, count them all.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238706 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgloopanal.c