https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65722
--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Sun Apr 12 01:08:04 2015 New Revision: 222015 URL: https://gcc.gnu.org/viewcvs?rev=222015&root=gcc&view=rev Log: Jan Hubicka <hubi...@ucw.cz> Martin Liska <mli...@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. Added: trunk/gcc/testsuite/g++.dg/ipa/pr65722.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-icf.c trunk/gcc/testsuite/ChangeLog