13 lines
529 B
Plaintext
13 lines
529 B
Plaintext
|
$OpenBSD: patch-gcc_cp_decl2_c,v 1.1.1.1 2007/03/17 22:35:26 espie Exp $
|
||
|
--- gcc/cp/decl2.c.orig Mon Feb 26 22:14:24 2007
|
||
|
+++ gcc/cp/decl2.c Mon Mar 12 11:37:53 2007
|
||
|
@@ -2969,7 +2969,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);
|