Commit b41e33fe by Richard Guenther Committed by Richard Biener

tree-ssa-structalias.c (make_constraint_from_heapvar): Initialize offset member.

2009-07-15  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-structalias.c (make_constraint_from_heapvar): Initialize
	offset member.

From-SVN: r149671
parent ece6940b
2009-07-15 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (make_constraint_from_heapvar): Initialize
offset member.
2009-07-15 Richard Guenther <rguenther@suse.de>
PR middle-end/40753
* alias.c (ao_ref_from_mem): Reject FUNCTION_DECL and LABEL_DECL
bases.
......
......@@ -3388,6 +3388,7 @@ make_constraint_from_heapvar (varinfo_t lhs, const char *name)
vi->is_artificial_var = true;
vi->is_heap_var = true;
vi->is_unknown_size_var = true;
vi->offset = 0;
vi->fullsize = ~0;
vi->size = ~0;
vi->is_full_var = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment