Handle loops with loop->latch == NULL (PR gcov-profile/71868)
authorMartin Liska <mliska@suse.cz>
Mon, 25 Jul 2016 10:56:08 +0000 (12:56 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 25 Jul 2016 10:56:08 +0000 (10:56 +0000)
commitc1e1a688fb50bffe2ab21e4cce7374ac65e89205
tree0f82732086e16bd62553ae60fc855f592b627baa
parentccae0c8546a8b9e6fe00f180ae097a3f83b1e113
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.

From-SVN: r238706
gcc/ChangeLog
gcc/cfgloopanal.c