Commit b3a646eb by Graham Stott

rs6000.c (rs6000_hash_constant): Fix hash for LABEL_REF's.



	* config/rs6000/rs6000.c (rs6000_hash_constant): Fix
	hash for LABEL_REF's.

From-SVN: r55915
parent 1de4ecb6
......@@ -11370,7 +11370,7 @@ rs6000_hash_constant (k)
int fidx;
if (GET_CODE (k) == LABEL_REF)
return result * 1231 + X0INT (XEXP (k, 0), 3);
return result * 1231 + (unsigned) INSN_UID (XEXP (k, 0));
if (GET_CODE (k) == CODE_LABEL)
fidx = 3;
......
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