https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89737

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Mar 19 17:08:28 2019
New Revision: 269804

URL: https://gcc.gnu.org/viewcvs?rev=269804&root=gcc&view=rev
Log:
Fix set of even probabilities (PR middle-end/89737).

2019-03-19  Martin Liska  <mli...@suse.cz>

        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.
2019-03-19  Martin Liska  <mli...@suse.cz>

        PR middle-end/89737
        * gcc.dg/pr89737.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89737.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/predict.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to