diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2018-07-14 00:52:26 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2018-07-14 00:52:26 +0000 |
commit | 08f94721491d557c3e824b316120f1a55d590b9d (patch) | |
tree | 49bcfc2958f34d3849f1a2413bd39d5cd14c3e25 /devel/arm-none-eabi-gcc492/files/patch-gcc_cgraph.c | |
parent | security/tor-devel: Update 0.3.4.4 -> 0.3.4.5 (diff) |
Attempt to fix build with clang6.
Diffstat (limited to 'devel/arm-none-eabi-gcc492/files/patch-gcc_cgraph.c')
-rw-r--r-- | devel/arm-none-eabi-gcc492/files/patch-gcc_cgraph.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/arm-none-eabi-gcc492/files/patch-gcc_cgraph.c b/devel/arm-none-eabi-gcc492/files/patch-gcc_cgraph.c new file mode 100644 index 000000000000..2a449894c9b2 --- /dev/null +++ b/devel/arm-none-eabi-gcc492/files/patch-gcc_cgraph.c @@ -0,0 +1,38 @@ +--- gcc/cgraph.c.orig 2014-06-20 09:57:53 UTC ++++ gcc/cgraph.c +@@ -1378,7 +1378,7 @@ cgraph_redirect_edge_call_stmt_to_callee + if (dump_file) + fprintf (dump_file, + "Expanding speculative call of %s/%i -> %s/%i count:" +- HOST_WIDEST_INT_PRINT_DEC"\n", ++ HOST_WIDEST_INT_PRINT_DEC "\n", + xstrdup (e->caller->name ()), + e->caller->order, + xstrdup (e->callee->name ()), +@@ -1976,7 +1976,7 @@ dump_cgraph_node (FILE *f, struct cgraph + fprintf (f, " First run: %i\n", node->tp_first_run); + fprintf (f, " Function flags:"); + if (node->count) +- fprintf (f, " executed "HOST_WIDEST_INT_PRINT_DEC"x", ++ fprintf (f, " executed " HOST_WIDEST_INT_PRINT_DEC "x", + (HOST_WIDEST_INT)node->count); + if (node->origin) + fprintf (f, " nested in: %s", node->origin->asm_name ()); +@@ -2028,7 +2028,7 @@ dump_cgraph_node (FILE *f, struct cgraph + fprintf (f, "%s/%i ", edge->caller->asm_name (), + edge->caller->order); + if (edge->count) +- fprintf (f, "("HOST_WIDEST_INT_PRINT_DEC"x) ", ++ fprintf (f, "(" HOST_WIDEST_INT_PRINT_DEC "x) ", + (HOST_WIDEST_INT)edge->count); + if (edge->frequency) + fprintf (f, "(%.2f per call) ", +@@ -2055,7 +2055,7 @@ dump_cgraph_node (FILE *f, struct cgraph + if (edge->indirect_inlining_edge) + fprintf (f, "(indirect_inlining) "); + if (edge->count) +- fprintf (f, "("HOST_WIDEST_INT_PRINT_DEC"x) ", ++ fprintf (f, "(" HOST_WIDEST_INT_PRINT_DEC "x) ", + (HOST_WIDEST_INT)edge->count); + if (edge->frequency) + fprintf (f, "(%.2f per call) ", |