OSDN Git Service

2005-10-06 Daniel Berlin <dberlin@dberlin.org>
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Oct 2005 21:36:52 +0000 (21:36 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Oct 2005 21:36:52 +0000 (21:36 +0000)
* tree-ssa-structalias.c (check_for_overlaps): Fix bug in last
        change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105059 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-structalias.c

index 79124ff..3e873e4 100644 (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
index f6ac3ca..1e1d64d 100644 (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++)
     {