ports/devel/mingw32-gcc/files/patch-gcc_ipa-prop.c
Stephen Montgomery-Smith 0816ffb03a - Patches so that it builds with clang-6.
PR:		ports/229662
Submitted by:	stephen@FreeBSD.org
2018-07-10 21:13:45 +00:00

20 lines
918 B
C

--- gcc/ipa-prop.c.orig 2013-05-23 13:25:23 UTC
+++ gcc/ipa-prop.c
@@ -168,7 +168,7 @@ ipa_print_node_jump_functions_for_edge (
{
fprintf (f, "KNOWN TYPE: base ");
print_generic_expr (f, jump_func->value.known_type.base_type, 0);
- fprintf (f, ", offset "HOST_WIDE_INT_PRINT_DEC", component ",
+ fprintf (f, ", offset " HOST_WIDE_INT_PRINT_DEC ", component ",
jump_func->value.known_type.offset);
print_generic_expr (f, jump_func->value.known_type.component_type, 0);
fprintf (f, "\n");
@@ -207,7 +207,7 @@ ipa_print_node_jump_functions_for_edge (
else if (type == IPA_JF_ANCESTOR)
{
fprintf (f, "ANCESTOR: ");
- fprintf (f, "%d, offset "HOST_WIDE_INT_PRINT_DEC", ",
+ fprintf (f, "%d, offset " HOST_WIDE_INT_PRINT_DEC ", ",
jump_func->value.ancestor.formal_id,
jump_func->value.ancestor.offset);
print_generic_expr (f, jump_func->value.ancestor.type, 0);