2018-12-20 Martin Jambor <mjambor@suse.cz>
PR ipa/88214
* tree-ssa-alias.c (ao_ref_init_from_ptr_and_size): Assert that
ptr is a pointer.
From-SVN: r267298
+2018-12-20 Martin Jambor <mjambor@suse.cz>
+
+ PR ipa/88214
+ * tree-ssa-alias.c (ao_ref_init_from_ptr_and_size): Assert that
+ ptr is a pointer.
+
2018-12-20 Richard Biener <rguenther@suse.de>
PR tree-optimization/84362
}
else
{
+ gcc_assert (POINTER_TYPE_P (TREE_TYPE (ptr)));
ref->base = build2 (MEM_REF, char_type_node,
ptr, null_pointer_node);
ref->offset = 0;