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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Dec 19 16:43:04 2017
New Revision: 255829

URL: https://gcc.gnu.org/viewcvs?rev=255829&root=gcc&view=rev
Log:
        PR middle-end/81914
        * predict.c (zero_one_minusone): New function.
        (apply_return_prediction): Avoid return prediction for functions
        returning only -1, 0 and 1 values, unless they only return -1 and 0
        or 0 and 1.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/predict.c

Reply via email to