Re: [PATCH] Fix set of even probabilities (PR middle-end/89737).

2019-03-19 Thread Martin Liška
On 3/19/19 3:52 PM, Jakub Jelinek wrote: > On Tue, Mar 19, 2019 at 09:02:27AM +0100, Martin Liška wrote: >> 2019-03-18 Martin Liska >> >> PR middle-end/89737 >> * predict.c (combine_predictions_for_bb): Empty likely_edges and >> unlikely_edges if there's an edge that belongs to bo

Re: [PATCH] Fix set of even probabilities (PR middle-end/89737).

2019-03-19 Thread Jakub Jelinek
On Tue, Mar 19, 2019 at 09:02:27AM +0100, Martin Liška wrote: > 2019-03-18 Martin Liska > > PR middle-end/89737 > * predict.c (combine_predictions_for_bb): Empty likely_edges and > unlikely_edges if there's an edge that belongs to both these sets. I admit I don't know this co

Re: [PATCH] Fix set of even probabilities (PR middle-end/89737).

2019-03-19 Thread Jan Hubicka
> On 3/19/19 2:02 AM, Martin Liška wrote: > > Hi. > > > > When calling set_even_probabilities, the function assumes that an edge > > can't live in both sets ({un,}likely_edges). When such situation happens, > > clear just the sets. > > > > Patch can bootstrap on x86_64-linux-gnu and survives regr

Re: [PATCH] Fix set of even probabilities (PR middle-end/89737).

2019-03-19 Thread Jeff Law
On 3/19/19 2:02 AM, Martin Liška wrote: > Hi. > > When calling set_even_probabilities, the function assumes that an edge > can't live in both sets ({un,}likely_edges). When such situation happens, > clear just the sets. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. >

[PATCH] Fix set of even probabilities (PR middle-end/89737).

2019-03-19 Thread Martin Liška
Hi. When calling set_even_probabilities, the function assumes that an edge can't live in both sets ({un,}likely_edges). When such situation happens, clear just the sets. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: