Re: [PATCH] Handle loops with loop->latch == NULL (PR gcov-profile/71868)

2016-07-25 Thread Richard Biener
On Mon, Jul 25, 2016 at 10:55 AM, Martin Liška wrote: > Hi. > > As discussed with Honza, we should sum all edge frequencies when a loop > has multiple latches. > > Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. > > Ready to be installed? - if (e->src == loop->lat

[PATCH] Handle loops with loop->latch == NULL (PR gcov-profile/71868)

2016-07-25 Thread Martin Liška
ate: Fri, 22 Jul 2016 11:36:52 +0200 Subject: [PATCH] Handle loops with loop->latch == NULL (PR gcov-profile/71868) gcc/ChangeLog: 2016-07-22 Martin Liska PR gcov-profile/71868 * cfgloopanal.c (expected_loop_iterations_unbounded): When we have a function with multiple latches, count th