tree-ssa-structalias.c (check_for_overlaps): Fix bug in last change.

2005-10-06  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-structalias.c (check_for_overlaps): Fix bug in last
        change.

From-SVN: r105059
This commit is contained in:
Daniel Berlin 2005-10-06 21:36:52 +00:00 committed by Daniel Berlin
parent e2f9fe4298
commit 30d2662cc2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-10-06 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (check_for_overlaps): Fix bug in last
change.
2005-10-06 Richard Henderson <rth@redhat.com>
PR tree-opt/22237

View File

@ -3029,7 +3029,7 @@ check_for_overlaps (VEC (fieldoff_s,heap) *fieldstack)
{
fieldoff_s *fo = NULL;
unsigned int i;
unsigned int lastoffset = ~0;
HOST_WIDE_INT lastoffset = -1;
for (i = 0; VEC_iterate (fieldoff_s, fieldstack, i, fo); i++)
{