* ipa-polymorphic-call.c (ipa_polymorphic_call_context): Avoid ICE
on getting VOID pointer.
From-SVN: r220545
+2015-02-08 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-polymorphic-call.c (ipa_polymorphic_call_context): Avoid ICE
+ on getting VOID pointer.
+
2015-02-09 Jakub Jelinek <jakub@redhat.com>
PR target/64979
base_type = TREE_TYPE (gimple_assign_rhs1
(SSA_NAME_DEF_STMT (base_pointer)));
- if (POINTER_TYPE_P (base_type))
+ if (base_type && POINTER_TYPE_P (base_type))
combine_speculation_with (TYPE_MAIN_VARIANT (TREE_TYPE (base_type)),
offset,
true, NULL /* Do not change type here */);