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

13 lines
523 B
Plaintext

$OpenBSD: patch-gcc_cp_decl2_c,v 1.2 2009/11/02 23:00:08 jsg Exp $
--- gcc/cp/decl2.c.orig Wed Jul 22 22:36:27 2009
+++ gcc/cp/decl2.c Sat Oct 31 03:52:36 2009
@@ -3320,7 +3320,7 @@ build_java_method_aliases (void)
oid = DECL_ASSEMBLER_NAME (fndecl);
oname = IDENTIFIER_POINTER (oid);
gcc_assert (oname[0] == '_' && oname[1] == 'Z');
- nname = ACONCAT (("_ZGA", oname+2, NULL));
+ nname = ACONCAT (("_ZGA", oname+2, (char *)0));
nid = get_identifier (nname);
alias = make_alias_for (fndecl, nid);