openbsd-ports/lang/gcc/4.1/patches/patch-gcc_read-rtl_c

13 lines
579 B
Plaintext

$OpenBSD: patch-gcc_read-rtl_c,v 1.2 2005/05/21 10:34:43 espie Exp $
--- gcc/read-rtl.c.orig Wed May 11 00:40:36 2005
+++ gcc/read-rtl.c Mon May 16 17:43:13 2005
@@ -774,7 +774,7 @@ join_c_conditions (const char *cond1, co
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);