Commit 808788fe by Geoff Keating Committed by Geoffrey Keating

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
parent 0caae6dd
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> 2000-09-10 Michael Hayes <mhayes@cygnus.com>
* loop.c (struct movables): New. * loop.c (struct movables): New.
......
...@@ -505,7 +505,7 @@ validate_replace_rtx_1 (loc, from, to, object) ...@@ -505,7 +505,7 @@ validate_replace_rtx_1 (loc, from, to, object)
&& GET_MODE_CLASS (GET_MODE (x)) == MODE_INT) && GET_MODE_CLASS (GET_MODE (x)) == MODE_INT)
{ {
rtx temp = operand_subword (to, SUBREG_WORD (x), rtx temp = operand_subword (to, SUBREG_WORD (x),
0, GET_MODE (x)); 0, GET_MODE (from));
if (temp) if (temp)
{ {
validate_change (object, loc, temp, 1); validate_change (object, loc, temp, 1);
......
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