openbsd-ports/lang/gcc/4.2/patches/patch-gcc_varasm_c
espie ced95bccdd move to gcc 4.2.4, with a lot of work from kurt@ as well.
Doesn't build on alpha yet, but should be on the way...
2009-04-16 18:36:48 +00:00

13 lines
482 B
Plaintext

$OpenBSD: patch-gcc_varasm_c,v 1.4 2009/04/16 18:36:48 espie Exp $
--- gcc/varasm.c.orig Sat Feb 2 02:42:03 2008
+++ gcc/varasm.c Tue Apr 7 19:39:00 2009
@@ -396,7 +396,7 @@ initialize_cold_section_name (void)
stripped_name = targetm.strip_name_encoding (name);
- buffer = ACONCAT ((stripped_name, "_unlikely", NULL));
+ buffer = ACONCAT ((stripped_name, "_unlikely", (char *)0));
cfun->unlikely_text_section_name = ggc_strdup (buffer);
}
else