diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-03-29 19:37:55 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-03-29 19:37:55 +0000 |
commit | 11075c28d80b4b3dcdadf4b9468bfbe84ae5481b (patch) | |
tree | 0db1268677c278b70680ea23df35ab40f292d64f /gcc/cgraphclones.c | |
parent | 24e1ba3d7f421ad2d7177a6e419bcc27f2ddc6e3 (diff) | |
download | gcc-11075c28d80b4b3dcdadf4b9468bfbe84ae5481b.tar.gz |
PR ipa/70283
* ipa-devirt.c (methods_equal_p): New function.
(compare_virtual_tables): Use it.
* cgraph.h (symbol_table::symbol_suffix_separator): Declare.
* cgraphclones.c (clone_function_name_1): Use
symbol_table::symbol_suffix_separator.
* coverage.c (build_var): Likewise.
* symtab.c (symbol_table::symbol_suffix_separator): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234532 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r-- | gcc/cgraphclones.c | 8 |
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); } |