openbsd-ports/lang/gcc/4.1/patches/patch-gcc_tree_c

18 lines
801 B
Plaintext

$OpenBSD: patch-gcc_tree_c,v 1.7 2005/09/11 22:04:41 espie Exp $
--- gcc/tree.c.orig Wed Sep 7 14:39:03 2005
+++ gcc/tree.c Mon Sep 12 00:01:25 2005
@@ -6338,11 +6338,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);
}