Commit 3c543775 by Richard Kenner

(canon_hash, case LABEL_REF, SYMBOL_REF): Avoid warning on 64-bit

machines.

From-SVN: r6487
parent 0d7e008e
......@@ -1887,12 +1887,13 @@ canon_hash (x, mode)
/* Assume there is only one rtx object for any given label. */
case LABEL_REF:
/* Use `and' to ensure a positive number. */
hash += ((unsigned) LABEL_REF << 7) + (unsigned) XEXP (x, 0);
hash
+= ((unsigned) LABEL_REF << 7) + (unsigned HOST_WIDE_INT) XEXP (x, 0);
return hash;
case SYMBOL_REF:
hash += ((unsigned) SYMBOL_REF << 7) + (unsigned) XEXP (x, 0);
hash
+= ((unsigned) SYMBOL_REF << 7) + (unsigned HOST_WIDE_INT) XEXP (x, 0);
return hash;
case MEM:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment