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

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Aug 10 09:31:51 2018
New Revision: 263465

URL: https://gcc.gnu.org/viewcvs?rev=263465&root=gcc&view=rev
Log:
Strip only selected predictors after early tree passes (PR
tree-optimization/85799).

2018-08-10  Martin Liska  <mli...@suse.cz>

        PR tree-optimization/85799
        * passes.def: Add argument for pass_strip_predict_hints.
        * predict.c (class pass_strip_predict_hints): Add new argument
        early_p.
        (strip_predictor_early): New function.
        (pass_strip_predict_hints::execute): Call the function to
        strip predictors.
        (strip_predict_hints): New function.
        * predict.def: Fix comment.
2018-08-10  Martin Liska  <mli...@suse.cz>

        PR tree-optimization/85799
        * gcc.dg/pr85799.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr85799.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/passes.def
    trunk/gcc/predict.c
    trunk/gcc/predict.def
    trunk/gcc/testsuite/ChangeLog

Reply via email to