Convert profile probabilities to new type
Jan Hubicka
hubicka@ucw.cz
Thu Jun 29 22:39:00 GMT 2017
Hi,
this patch makes cross compiler for all three targets to build again.
Comitted as obvious.
* arm/arm-builtins.c: Include profile-count.h
* except.c (sjlj_emit_function_enter): Use
profile_probability::unlikely.
Index: config/arm/arm-builtins.c
===================================================================
--- config/arm/arm-builtins.c (revision 249799)
+++ config/arm/arm-builtins.c (working copy)
@@ -27,6 +27,7 @@
#include "gimple-expr.h"
#include "memmodel.h"
#include "tm_p.h"
+#include "profile-count.h"
#include "optabs.h"
#include "emit-rtl.h"
#include "recog.h"
Index: except.c
===================================================================
--- except.c (revision 249800)
+++ except.c (working copy)
@@ -1180,7 +1180,8 @@ sjlj_emit_function_enter (rtx_code_label
emit_cmp_and_jump_insns (x, const0_rtx, NE, 0,
TYPE_MODE (integer_type_node), 0,
- dispatch_label, REG_BR_PROB_BASE / 100);
+ dispatch_label,
+ profile_probability::unlikely ());
#else
expand_builtin_setjmp_setup (addr, dispatch_label);
#endif
More information about the Gcc-patches
mailing list