]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
Recover GOTO predictor.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jul 2017 11:16:00 +0000 (11:16 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jul 2017 11:16:00 +0000 (11:16 +0000)
commit38ef3642f7cce23012fc1126e292aa1a7285f849
tree12d92f7ad89fe26c757222ae443640e4eaeeaa00
parentdaabf52054661d2ab9f6565539557b007aa0cf0b
Recover GOTO predictor.

2017-07-31  Jan Hubicka <hubicka@ucw.cz>
    Martin Liska  <mliska@suse.cz>

* c-typeck.c (c_finish_goto_label): Build gimple predict
stament.
2017-07-31  Jan Hubicka <hubicka@ucw.cz>
    Martin Liska  <mliska@suse.cz>

* predict.def: Remove old comment and adjust probability.
* gimplify.c (should_warn_for_implicit_fallthrough): Ignore
PREDICT statements.
2017-07-31  Jan Hubicka <hubicka@ucw.cz>
    Martin Liska  <mliska@suse.cz>

* gcc.dg/predict-15.c: New test.
* gcc.dg/tree-ssa/vrp24.c: Update scanned pattern.
2017-07-31  Jan Hubicka <hubicka@ucw.cz>
    Martin Liska  <mliska@suse.cz>

* pt.c (tsubst_copy): Copy PREDICT_EXPR.
* semantics.c (finish_goto_stmt): Build gimple predict
stament.
* constexpr.c (potential_constant_expression_1): Handle
PREDICT_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250737 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/ChangeLog
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/gimplify.c
gcc/predict.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/predict-15.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c
gcc/testsuite/gcc.dg/tree-ssa/vrp24.c