openbsd-ports/lang/gcc/4.2/patches/patch-gcc_tree_c
espie ceaa955aca new gcc snapshot, this one compiles again on i386 !
NOTE: this needs current -src, in particular current includes
for libgfortran to build correctly (semantics change in __extern inline
that lead to duplicate isalnum symbols otherwise).
2007-03-17 21:58:45 +00:00

18 lines
801 B
Plaintext

$OpenBSD: patch-gcc_tree_c,v 1.3 2007/03/17 21:58:46 espie Exp $
--- gcc/tree.c.orig Sun Mar 4 13:57:13 2007
+++ gcc/tree.c Mon Mar 12 11:37:54 2007
@@ -7204,11 +7204,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);
}