+2006-04-13 Roger Sayle <roger@eyesopen.com>
+
+ * fold-const.c (native_encode_vector, native_interpret_real):
+ Correct obvious mistakes in the previous check-in.
+
2006-04-13 Roger Sayle <roger@eyesopen.com>
* fold-const.c (native_encode_expr): New function to encode
static int
native_encode_vector (tree expr, unsigned char *ptr, int len)
{
- tree type = TREE_TYPE (expr);
- int i, size, offste, count;
+ int i, size, offset, count;
tree elem, elements;
size = 0;
static tree
native_interpret_real (tree type, unsigned char *ptr, int len)
{
- int total_bytes = GET_MODE_SIZE (TYPE_MODE (type));
+ enum machine_mode mode = TYPE_MODE (type);
+ int total_bytes = GET_MODE_SIZE (mode);
int byte, offset, word, words;
unsigned char value;
/* There are always 32 bits in each long, no matter the size of