https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71868
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Mon Jul 25 10:56:08 2016 New Revision: 238706 URL: https://gcc.gnu.org/viewcvs?rev=238706&root=gcc&view=rev Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/cfgloopanal.c