openbsd-ports/lang/gcc/4.2/patches/patch-gcc_tree_c
2006-07-31 09:50:53 +00:00

18 lines
805 B
Plaintext

$OpenBSD: patch-gcc_tree_c,v 1.1.1.1 2006/07/31 09:50:53 espie Exp $
--- gcc/tree.c.orig Thu Jul 13 00:43:27 2006
+++ gcc/tree.c Sun Jul 23 11:24:02 2006
@@ -6712,11 +6712,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);
}