Commit 963943b0 by Jan Hubicka Committed by Jan Hubicka

* recog.c (validate_replace_rtx_1): Fix previous patch.

From-SVN: r43263
parent 5fecb528
Tue Jun 12 19:01:43 CEST 2001 Jan Hubicka <jh@suse.cz>
* recog.c (validate_replace_rtx_1): Fix previous patch.
Tue Jun 12 17:25:39 CEST 2001 Jan Hubicka <jh@suse.cz>
* recog.c (validate_replace_rtx_1): Do plus_constant call always.
......
......@@ -512,7 +512,7 @@ validate_replace_rtx_1 (loc, from, to, object)
separated from this function. */
if (GET_CODE (XEXP (x, 1)) == CONST_INT)
validate_change (object, loc,
plus_constant (XEXP (x, 0), INTVAL (to)), 1);
plus_constant (XEXP (x, 0), XEXP (x, 1)), 1);
break;
case MINUS:
if (GET_CODE (XEXP (x, 1)) == CONST_INT
......
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