From: Geoff Keating Date: Sat, 9 Sep 2000 19:34:27 +0000 (+0000) Subject: recog.c (validate_replace_rtx_1): Correct MODE parameter in call to operand_subword. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=808788fe76ea59fde5fec1d3e6a79a143249b3c0;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1441c2f2c82..004785a7505 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-09-09 Geoff Keating + + * recog.c (validate_replace_rtx_1): Correct MODE parameter in call + to operand_subword. + 2000-09-10 Michael Hayes * loop.c (struct movables): New. diff --git a/gcc/recog.c b/gcc/recog.c index 7f35c9f542c..87f8137f302 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -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);