openbsd-ports/lang/gcc/4.1/patches/patch-gcc_read-rtl_c
2005-05-29 13:26:49 +00:00

13 lines
579 B
Plaintext

$OpenBSD: patch-gcc_read-rtl_c,v 1.3 2005/05/29 13:26:49 espie Exp $
--- gcc/read-rtl.c.orig Wed May 18 15:46:39 2005
+++ gcc/read-rtl.c Sun May 29 13:55:47 2005
@@ -781,7 +781,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);