Commit 30d2662c by Daniel Berlin Committed by Daniel Berlin

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
parent e2f9fe42
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> 2005-10-06 Richard Henderson <rth@redhat.com>
PR tree-opt/22237 PR tree-opt/22237
......
...@@ -3029,7 +3029,7 @@ check_for_overlaps (VEC (fieldoff_s,heap) *fieldstack) ...@@ -3029,7 +3029,7 @@ check_for_overlaps (VEC (fieldoff_s,heap) *fieldstack)
{ {
fieldoff_s *fo = NULL; fieldoff_s *fo = NULL;
unsigned int i; unsigned int i;
unsigned int lastoffset = ~0; HOST_WIDE_INT lastoffset = -1;
for (i = 0; VEC_iterate (fieldoff_s, fieldstack, i, fo); i++) for (i = 0; VEC_iterate (fieldoff_s, fieldstack, i, fo); i++)
{ {
......
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