* ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
on cxa_pure_virtual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234114
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-03-10 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/69630
+ * ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
+ on cxa_pure_virtual.
+
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
PR lto/69589
if (!outer_type->all_derivations_known)
{
- if (!speculative && final_warning_records)
+ if (!speculative && final_warning_records
+ && TREE_CODE (TREE_TYPE (nodes[0]->decl)) == METHOD_TYPE)
{
if (complete
&& nodes.length () == 1
- && TREE_CODE (TREE_TYPE (nodes[0]->decl)) == METHOD_TYPE
&& warn_suggest_final_types
&& !outer_type->derived_types.length ())
{