Remove comparison for polymorphic types.
authorMartin Liska <mliska@suse.cz>
Wed, 30 Oct 2019 12:02:17 +0000 (13:02 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 30 Oct 2019 12:02:17 +0000 (12:02 +0000)
commit430d1e8de0800bc758534ad8048d9e8d53bb2335
treee25b86c0c2b6b181f704312936aea7a2f17627fb
parent938bba616d438fadf604fdea50395d3fe356ef72
Remove comparison for polymorphic types.

2019-10-30  Martin Liska  <mliska@suse.cz>

* ipa-icf-gimple.c (func_checker::func_checker): Do not
initialize m_compare_polymorphic.
(func_checker::compare_decl): Do not compare polymorphic types.
* ipa-icf-gimple.h (m_compare_polymorphic): Remove.
* ipa-icf.c (sem_function::equals_private): Do not call
compare_polymorphic_p.

From-SVN: r277617
gcc/ChangeLog
gcc/ipa-icf-gimple.c
gcc/ipa-icf-gimple.h
gcc/ipa-icf.c