summaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-18 10:32:20 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-18 10:32:20 +0000
commit523464ff57eea48adea62ae64f3dadc464250513 (patch)
tree65f830a71da03bc6f1c2c25119de05ca0e685a8a /gcc/cgraphclones.c
parent3fb2de4ac89890191b61d1d8a8b7b874ffebff19 (diff)
downloadgcc-523464ff57eea48adea62ae64f3dadc464250513.tar.gz
2016-04-18 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with even more of GCC 6, using subversion 1.9 svn merge -r234051:234650 ^/trunk }} git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@235119 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r--gcc/cgraphclones.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
index 354655e85d2..07ceb1a80d4 100644
--- a/gcc/cgraphclones.c
+++ b/gcc/cgraphclones.c
@@ -512,13 +512,7 @@ clone_function_name_1 (const char *name, const char *suffix)
prefix = XALLOCAVEC (char, len + strlen (suffix) + 2);
memcpy (prefix, name, len);
strcpy (prefix + len + 1, suffix);
-#ifndef NO_DOT_IN_LABEL
- prefix[len] = '.';
-#elif !defined NO_DOLLAR_IN_LABEL
- prefix[len] = '$';
-#else
- prefix[len] = '_';
-#endif
+ prefix[len] = symbol_table::symbol_suffix_separator ();
ASM_FORMAT_PRIVATE_NAME (tmp_name, prefix, clone_fn_id_num++);
return get_identifier (tmp_name);
}