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
This commit is contained in:
Richard Guenther 2009-07-15 10:01:42 +00:00 committed by Richard Biener
parent ece6940b3a
commit b41e33fe7f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;