This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249451 - in /trunk/gcc: ChangeLog gimplify.c p...
- From: marxin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 21 Jun 2017 12:52:15 -0000
- Subject: r249451 - in /trunk/gcc: ChangeLog gimplify.c p...
Author: marxin
Date: Wed Jun 21 12:52:14 2017
New Revision: 249451
URL: https://gcc.gnu.org/viewcvs?rev=249451&root=gcc&view=rev
Log:
Rework cold and hot label attributes in predict.c.
2017-06-21 Martin Liska <mliska@suse.cz>
* gimplify.c (gimplify_label_expr): Insert GIMPLE_PREDICT
statements on cold and hot labels.
* predict.c (tree_estimate_probability_bb): Remove the
prediction from this place.
2017-06-21 Martin Liska <mliska@suse.cz>
* gcc.dg/tree-ssa/attr-hotcold-2.c: Update scanned patterns.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/predict.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c