openbsd-ports/devel/ti-msp430gcc/patches/patch-sources_tools_gcc_ipa-inline_c
sthen ad9b26e502 unbreak clang builds of ti-msp430gcc:
- add spaces around BAR in "foo"BAR"foo"
- #include <new> in a higher-up header, avoiding namespace issue with
fancy_abort (sort-of borrowed from FreeBSD gcc ports)
2019-04-15 21:20:06 +00:00

17 lines
574 B
Plaintext

$OpenBSD: patch-sources_tools_gcc_ipa-inline_c,v 1.1 2019/04/15 21:20:06 sthen Exp $
clang fix
Index: sources/tools/gcc/ipa-inline.c
--- sources/tools/gcc/ipa-inline.c.orig
+++ sources/tools/gcc/ipa-inline.c
@@ -1727,7 +1727,7 @@ inline_small_functions (void)
badness,
edge->frequency / (double)CGRAPH_FREQ_BASE);
if (edge->count)
- fprintf (dump_file," Called "HOST_WIDEST_INT_PRINT_DEC"x\n",
+ fprintf (dump_file," Called " HOST_WIDEST_INT_PRINT_DEC "x\n",
edge->count);
if (dump_flags & TDF_DETAILS)
edge_badness (edge, true);