diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-03-29 21:37:55 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-03-29 19:37:55 +0000 |
commit | f8a1abf8e3dc2ef5cb47a13f14e6a7ec8113a46f (patch) | |
tree | 0db1268677c278b70680ea23df35ab40f292d64f /gcc/cgraph.h | |
parent | a362f023e538bc30dd9f2107f71c2435f62b9289 (diff) | |
download | gcc-f8a1abf8e3dc2ef5cb47a13f14e6a7ec8113a46f.zip gcc-f8a1abf8e3dc2ef5cb47a13f14e6a7ec8113a46f.tar.gz gcc-f8a1abf8e3dc2ef5cb47a13f14e6a7ec8113a46f.tar.bz2 |
re PR lto/70283 (bogus vtable mismatch warnings)
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.
From-SVN: r234532
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index d0345c6..e929285 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -2173,6 +2173,9 @@ public: FILE* GTY ((skip)) dump_file; + /* Return symbol used to separate symbol name from suffix. */ + static char symbol_suffix_separator (); + private: /* Allocate new callgraph node. */ inline cgraph_node * allocate_cgraph_symbol (void); |