Commit 5fecb528 by Jan Hubicka Committed by Jan Hubicka

* recog.c (validate_replace_rtx_1): Do plus_constant call always.

From-SVN: r43262
parent 04864a46
Tue Jun 12 17:25:39 CEST 2001 Jan Hubicka <jh@suse.cz>
* recog.c (validate_replace_rtx_1): Do plus_constant call always.
Tue Jun 12 17:24:07 CEST 2001 Jan Hubicka <jh@suse.cz> Tue Jun 12 17:24:07 CEST 2001 Jan Hubicka <jh@suse.cz>
* simplify-rtx.c (simplify_subreg): Allow volatile memory * simplify-rtx.c (simplify_subreg): Allow volatile memory
......
...@@ -510,7 +510,7 @@ validate_replace_rtx_1 (loc, from, to, object) ...@@ -510,7 +510,7 @@ validate_replace_rtx_1 (loc, from, to, object)
plus_constant to try to simplify it. plus_constant to try to simplify it.
??? We may want later to remove this, once simplification is ??? We may want later to remove this, once simplification is
separated from this function. */ separated from this function. */
if (GET_CODE (XEXP (x, 1)) == CONST_INT && XEXP (x, 1) == to) if (GET_CODE (XEXP (x, 1)) == CONST_INT)
validate_change (object, loc, validate_change (object, loc,
plus_constant (XEXP (x, 0), INTVAL (to)), 1); plus_constant (XEXP (x, 0), INTVAL (to)), 1);
break; break;
......
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