Martin Liska <mliska@suse.cz>
PR middle-end/77574
* predict.c (force_edge_cold): Add braces to a condition.
Co-Authored-By: Martin Liska <mliska@suse.cz>
From-SVN: r240128
+2016-09-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
+ Martin Liska <mliska@suse.cz>
+
+ PR middle-end/77574
+ * predict.c (force_edge_cold): Add braces to a condition.
+
2016-09-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR rtl-optimization/77289
int prob_scale = REG_BR_PROB_BASE;
/* If edge is already improbably or cold, just return. */
- if (e->probability <= impossible ? PROB_VERY_UNLIKELY : 0
+ if (e->probability <= (impossible ? PROB_VERY_UNLIKELY : 0)
&& (!impossible || !e->count))
return;
FOR_EACH_EDGE (e2, ei, e->src->succs)