ced95bccdd
Doesn't build on alpha yet, but should be on the way...
18 lines
801 B
Plaintext
18 lines
801 B
Plaintext
$OpenBSD: patch-gcc_tree_c,v 1.6 2009/04/16 18:36:48 espie Exp $
|
|
--- gcc/tree.c.orig Sat Feb 2 21:42:10 2008
|
|
+++ gcc/tree.c Tue Apr 7 19:38:59 2009
|
|
@@ -6805,11 +6805,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);
|
|
}
|