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

From-SVN: r43263
This commit is contained in:
Jan Hubicka 2001-06-12 19:06:18 +02:00 committed by Jan Hubicka
parent 5fecb52868
commit 963943b0ee
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

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