aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-icf.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-10-22 14:04:16 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-10-22 12:04:16 +0000
commit14762cd028d4bc8dfbe7ae1e1bdcd8521a1db6ad (patch)
treef5ec3914833f763375f491a4dc40eed6598f4595 /gcc/ipa-icf.h
parentf79de13a061f1c819af45dbc309ac7e52e5a0c0a (diff)
downloadgcc-14762cd028d4bc8dfbe7ae1e1bdcd8521a1db6ad.zip
gcc-14762cd028d4bc8dfbe7ae1e1bdcd8521a1db6ad.tar.gz
gcc-14762cd028d4bc8dfbe7ae1e1bdcd8521a1db6ad.tar.bz2
Simplify comparison of attrs in IPA ICF.
2018-10-22 Martin Liska <mliska@suse.cz> * ipa-icf.c (sem_item::compare_attributes): Remove. (sem_item::compare_referenced_symbol_properties): Use attribute_list_equal instead. (sem_function::equals_wpa): Likewise. * ipa-icf.h: Remove compare_attributes. From-SVN: r265386
Diffstat (limited to 'gcc/ipa-icf.h')
-rw-r--r--gcc/ipa-icf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ipa-icf.h b/gcc/ipa-icf.h
index a64b385..0359653 100644
--- a/gcc/ipa-icf.h
+++ b/gcc/ipa-icf.h
@@ -255,9 +255,6 @@ protected:
symtab_node *n2,
bool address);
- /* Compare two attribute lists. */
- static bool compare_attributes (const_tree list1, const_tree list2);
-
/* Hash properties compared by compare_referenced_symbol_properties. */
void hash_referenced_symbol_properties (symtab_node *ref,
inchash::hash &hstate,