Hi Eric,

I think I see a small flaw in that patch:
+   /* Make sure not to write past the end of the struct.  */
+   store_bit_field (dest,
+      adj_bytelen * BITS_PER_UNIT, bytepos * BITS_PER_UNIT,
+      bytepos * BITS_PER_UNIT, ssize * BITS_PER_UNIT,
+      VOIDmode, tmps[i]);
the parameter BITREGION_END is wrong.
it should be:
 ssize * BITS_PER_UNIT - 1

Bernd.                                    

Reply via email to