Commit 213d5fbc by Kazu Hirata Committed by Kazu Hirata

cse.c (fold_rtx): Replace the equality comparison of INTVALs with a pointer equality comparison.

	* cse.c (fold_rtx): Replace the equality comparison of INTVALs
	with a pointer equality comparison.

From-SVN: r68600
parent 9df4f939
2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
* cse.c (fold_rtx): Replace the equality comparison of INTVALs
with a pointer equality comparison.
2003-06-27 Kazu Hirata <kazu@cs.umass.edu>
* rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
are known to be not equivalent.
......
......@@ -4219,7 +4219,7 @@ fold_rtx (x, insn)
with a pre- or post-increment. Similarly for two subtracts of
identical powers of two with post decrement. */
if (code == PLUS && INTVAL (const_arg1) == INTVAL (inner_const)
if (code == PLUS && const_arg1 == inner_const
&& ((HAVE_PRE_INCREMENT
&& exact_log2 (INTVAL (const_arg1)) >= 0)
|| (HAVE_POST_INCREMENT
......
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