From 30d2662cc2fb2af90da137e6dfbe2c97c7e9bb50 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Thu, 6 Oct 2005 21:36:52 +0000 Subject: [PATCH] tree-ssa-structalias.c (check_for_overlaps): Fix bug in last change. 2005-10-06 Daniel Berlin * tree-ssa-structalias.c (check_for_overlaps): Fix bug in last change. From-SVN: r105059 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-structalias.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79124ffdc85..3e873e4e6b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-10-06 Daniel Berlin + + * tree-ssa-structalias.c (check_for_overlaps): Fix bug in last + change. + 2005-10-06 Richard Henderson PR tree-opt/22237 diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index f6ac3ca5365..1e1d64d7b9e 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -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++) {