Jan Hubicka <hubicka@ucw.cz>
authorJan Hubicka <hubicka@ucw.cz>
Sun, 12 Apr 2015 01:08:04 +0000 (03:08 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 12 Apr 2015 01:08:04 +0000 (01:08 +0000)
commit523f0450d78fc40d5231503f4ad4cc5f6bdf8139
tree7e5a1a4540aca33ee526f54f87dd5638bdcd70fe
parent1dcdafb2e61f1e0d98e50e2fbf5ee00e2893160a
Jan Hubicka  <hubicka@ucw.cz>
Martin Liska  <mliska@suse.cz>

PR ipa/65722
* g++.dg/ipa/pr65722.C: New testcase.

* ipa-icf.c (sem_item::compare_cgraph_references): function and
variable can not match.
(sem_item::update_hash_by_addr_refs): Fix handling of virtual tables.
(sem_variable::equals_wpa): Fix checking of DECL_FINAL_P patch.

Co-Authored-By: Martin Liska <mliska@suse.cz>
From-SVN: r222015
gcc/ChangeLog
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr65722.C [new file with mode: 0644]