openbsd-ports/lang/llvm-gcc4/patches/patch-gcc_tree_c
jsg 20eb3476c5 update to 2.6
ok sthen@
2009-11-02 23:00:08 +00:00

18 lines
799 B
Plaintext

$OpenBSD: patch-gcc_tree_c,v 1.2 2009/11/02 23:00:08 jsg Exp $
--- gcc/tree.c.orig Thu Aug 20 20:28:41 2009
+++ gcc/tree.c Sat Oct 31 03:54:34 2009
@@ -6938,11 +6938,11 @@ build_common_builtin_nodes (void)
*q = TOLOWER (*p);
*q = '\0';
- built_in_names[mcode] = concat ("__mul", mode_name_buf, "3", NULL);
+ built_in_names[mcode] = concat ("__mul", mode_name_buf, "3", (void *)0);
local_define_builtin (built_in_names[mcode], ftype, mcode,
built_in_names[mcode], ECF_CONST | ECF_NOTHROW);
- built_in_names[dcode] = concat ("__div", mode_name_buf, "3", NULL);
+ built_in_names[dcode] = concat ("__div", mode_name_buf, "3", (void *)0);
local_define_builtin (built_in_names[dcode], ftype, dcode,
built_in_names[dcode], ECF_CONST | ECF_NOTHROW);
}