From: Manfred Hollstein Date: Sat, 10 Oct 1998 09:24:06 +0000 (+0000) Subject: decl2.c (start_objects): Add new variable `joiner' and initialize it properly. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=066d147cbfa46e524a8016aed2ac4b449400126b;p=gcc.git decl2.c (start_objects): Add new variable `joiner' and initialize it properly. 8 * decl2.c (start_objects): Add new variable `joiner' and initialize it properly. From-SVN: r22975 --- diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index f70867a9e5a..1f80473116d 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -2977,10 +2977,17 @@ start_objects (method_type, initp) if (flag_init_priority) { + char joiner; + +#ifdef JOINER + joiner = JOINER; +#else + joiner = '_'; +#endif if (initp == 0) initp = DEFAULT_INIT_PRIORITY; - sprintf (type, "%c%c%.5u", method_type, JOINER, initp); + sprintf (type, "%c%c%.5u", method_type, joiner, initp); } else sprintf (type, "%c", method_type);