recog.c (validate_replace_rtx_1): Correct MODE parameter in call to operand_subword.

* recog.c (validate_replace_rtx_1): Correct MODE parameter in call
	to operand_subword.

From-SVN: r36281
This commit is contained in:
Geoff Keating 2000-09-09 19:34:27 +00:00 committed by Geoffrey Keating
parent 0caae6ddb8
commit 808788fe76
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-09-09 Geoff Keating <geoffk@cygnus.com>
* recog.c (validate_replace_rtx_1): Correct MODE parameter in call
to operand_subword.
2000-09-10 Michael Hayes <mhayes@cygnus.com>
* loop.c (struct movables): New.

View File

@ -505,7 +505,7 @@ validate_replace_rtx_1 (loc, from, to, object)
&& GET_MODE_CLASS (GET_MODE (x)) == MODE_INT)
{
rtx temp = operand_subword (to, SUBREG_WORD (x),
0, GET_MODE (x));
0, GET_MODE (from));
if (temp)
{
validate_change (object, loc, temp, 1);