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

machines.

From-SVN: r6487
This commit is contained in:
Richard Kenner 1994-02-06 08:40:29 -05:00
parent 0d7e008e87
commit 3c54377553
1 changed files with 4 additions and 3 deletions

View File

@ -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: