A patch for genautomata.c
Vladimir Makarov
vmakarov@redhat.com
Tue May 21 17:20:00 GMT 2002
Vladimir Makarov wrote:
>
> Hello,
>
> I've just committed the patch which fixes minor problems in
> genautomata.c. The patch has been tested, on i386, alpha, sparc and
> sh.
>
Sorry, I've missed a typo (actually I used it to test the patch). Here
the patch to fix it. I've committed it into the repository.
Vlad
2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (reserv_sets_hash_value): Fix a typo.
Index: genautomata.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/genautomata.c,v
retrieving revision 1.12
diff -c -p -r1.12 genautomata.c
*** genautomata.c 21 May 2002 23:11:57 -0000 1.12
--- genautomata.c 21 May 2002 23:22:18 -0000
*************** reserv_sets_hash_value (reservs)
*** 3410,3416 ****
i = 0;
reserv_ptr++;
}
! if (sizeof (set_el_t) < sizeof (unsigned))
return hash_value;
result = 0;
for (i = sizeof (set_el_t); i > 0; i -= sizeof (unsigned))
--- 3410,3416 ----
i = 0;
reserv_ptr++;
}
! if (sizeof (set_el_t) <= sizeof (unsigned))
return hash_value;
result = 0;
for (i = sizeof (set_el_t); i > 0; i -= sizeof (unsigned))
More information about the Gcc-patches
mailing list