+2008-09-04 Jeff Law <law@redhat.com>
+
+ * fold-const.c (native_encode_real): Fix computation of WORDS.
+ (native_interpret_real): Likewise.
+
2008-09-04 Janis Johnson <janis187@us.ibm.com>
* config/rs6000/t-rs6000: Remove target gt-rs6000.h.
if (total_bytes > len)
return 0;
- words = 32 / UNITS_PER_WORD;
+ words = (32 / BITS_PER_UNIT) / UNITS_PER_WORD;
real_to_target (tmp, TREE_REAL_CST_PTR (expr), TYPE_MODE (type));
total_bytes = GET_MODE_SIZE (TYPE_MODE (type));
if (total_bytes > len || total_bytes > 24)
return NULL_TREE;
- words = 32 / UNITS_PER_WORD;
+ words = (32 / BITS_PER_UNIT) / UNITS_PER_WORD;
memset (tmp, 0, sizeof (tmp));
for (bitpos = 0; bitpos < total_bytes * BITS_PER_UNIT;