re PR lto/65475 (ICE in odr_vtable_hasher::equal (Segmentation fault))
authorJan Hubicka <hubicka@ucw.cz>
Fri, 20 Mar 2015 18:19:18 +0000 (19:19 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 20 Mar 2015 18:19:18 +0000 (18:19 +0000)
commit730c436a33f0978a689c866df072ea3540ed037d
treecb30232d7f664d864a892dafa1975ac41d539179
parent05f23918fa15005e945818fdfb9f602353193871
re PR lto/65475 (ICE in odr_vtable_hasher::equal (Segmentation fault))

PR ipa/65475
* ipa-devirt.c (add_type_duplicate): Prevail polymorphic type over
non-polymorphic
* g++.dg/lto/pr65475_0.C: New testcase.
* g++.dg/lto/pr65475_1.C: New testcase.

From-SVN: r221542
gcc/ipa-devirt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr65475_0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/pr65475_1.C [new file with mode: 0644]