diff options
author | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-11 14:58:21 +0000 |
---|---|---|
committer | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-11 14:58:21 +0000 |
commit | e1daea7b1d01fa0eaa21b6e70349beccc47f97e2 (patch) | |
tree | 36d087fa42af05384912f0250f79574a53c1fd02 /gcc/ipa-icf.h | |
parent | 662274eebc1318f5a70fdb362da74f7913fbf1ba (diff) | |
download | gcc-e1daea7b1d01fa0eaa21b6e70349beccc47f97e2.tar.gz |
PR ipa/63622
PR ipa/63795
* g++.dg/ipa/ipa-icf-4.C: Add more precise dump scan.
* g++.dg/ipa/ipa-icf-5.C: Add condition for target
with symbol alias support.
* ipa-icf.c (sem_function::merge): Add new target symbol alias
support guard.
(sem_variable::merge): Likewise.
* ipa-icf.h (target_supports_symbol_aliases_p): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217355 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-icf.h')
-rw-r--r-- | gcc/ipa-icf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ipa-icf.h b/gcc/ipa-icf.h index d8e7b163a16..046e858c6a8 100644 --- a/gcc/ipa-icf.h +++ b/gcc/ipa-icf.h @@ -138,9 +138,11 @@ public: /* Return base tree that can be used for compatible_types_p and contains_polymorphic_type_p comparison. */ - static bool get_base_types (tree *t1, tree *t2); + /* Return true if target supports alias symbols. */ + bool target_supports_symbol_aliases_p (void); + /* Item type. */ sem_item_type type; |