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

13 lines
593 B
Plaintext
Raw Normal View History

$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
2006-07-31 09:50:53 +00:00
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);