aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Makarov <vmakarov@redhat.com>2002-05-21 23:27:04 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2002-05-21 23:27:04 +0000
commit96b1f73b8100d77d9446f0af72cb5856111938be (patch)
tree72c9b32ca635079dafa434c88e3d6beeef8d9e23
parentdceb2b7510be0b897d58f36e29d6386fa5360030 (diff)
downloadgcc-96b1f73b8100d77d9446f0af72cb5856111938be.zip
gcc-96b1f73b8100d77d9446f0af72cb5856111938be.tar.gz
gcc-96b1f73b8100d77d9446f0af72cb5856111938be.tar.bz2
genautomata.c (reserv_sets_hash_value): Fix a typo.
2002-05-21 Vladimir Makarov <vmakarov@redhat.com> * genautomata.c (reserv_sets_hash_value): Fix a typo. From-SVN: r53710
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/genautomata.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 15ba56b..b6b7c78 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
+ * genautomata.c (reserv_sets_hash_value): Fix a typo.
+
+2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
+
* genautomata.c (reserv_sets_hash_value): Define hash_value as
set_el_t. Transform the hash value into unsigned.
(output_cycle_reservs): Fix bug with output of repeated `nothing'.
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index faf631d..ae69c52 100644
--- a/gcc/genautomata.c
+++ b/gcc/genautomata.c
@@ -3410,7 +3410,7 @@ reserv_sets_hash_value (reservs)
i = 0;
reserv_ptr++;
}
- if (sizeof (set_el_t) < sizeof (unsigned))
+ if (sizeof (set_el_t) <= sizeof (unsigned))
return hash_value;
result = 0;
for (i = sizeof (set_el_t); i > 0; i -= sizeof (unsigned))