openbsd-ports/lang/gcc/4.2/patches/patch-gcc_read-rtl_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
593 B
Plaintext

$OpenBSD: patch-gcc_read-rtl_c,v 1.3 2009/04/16 18:36:48 espie Exp $
--- gcc/read-rtl.c.orig Sat Sep 1 17:28:30 2007
+++ gcc/read-rtl.c Tue Apr 7 19:38:59 2009
@@ -783,7 +783,7 @@ join_c_conditions (const char *cond1, const char *cond
if (cond2 == 0 || cond2[0] == 0)
return cond1;
- result = concat ("(", cond1, ") && (", cond2, ")", NULL);
+ result = concat ("(", cond1, ") && (", cond2, ")", (void *)0);
obstack_ptr_grow (&joined_conditions_obstack, result);
obstack_ptr_grow (&joined_conditions_obstack, cond1);
obstack_ptr_grow (&joined_conditions_obstack, cond2);