[Bug tree-optimization/88650] [9 Regression] ICE in set_even_probabilities at gcc/predict.c:885 since r267485

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 2 14:04:00 GMT 2019


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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Jan  2 14:03:53 2019
New Revision: 267513

URL: https://gcc.gnu.org/viewcvs?rev=267513&root=gcc&view=rev
Log:
Calculate prediction remainder at proper place (PR tree-optimization/88650).

2019-01-02  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/88650
        * predict.c (set_even_probabilities): Calculate probability
        remainer only when really used.
2019-01-02  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/88650
        * gfortran.dg/predict-3.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/predict-3.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/predict.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list