Simplify comparison of attrs in IPA ICF.
authorMartin Liska <mliska@suse.cz>
Mon, 22 Oct 2018 12:04:16 +0000 (14:04 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 22 Oct 2018 12:04:16 +0000 (12:04 +0000)
commit14762cd028d4bc8dfbe7ae1e1bdcd8521a1db6ad
treef5ec3914833f763375f491a4dc40eed6598f4595
parentf79de13a061f1c819af45dbc309ac7e52e5a0c0a
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
gcc/ChangeLog
gcc/ipa-icf.c
gcc/ipa-icf.h