r249451 - in /trunk/gcc: ChangeLog gimplify.c p...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Wed Jun 21 12:52:00 GMT 2017


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



More information about the Gcc-cvs mailing list