bt-load.c (move_btr_def): Fix the order of arguments to validate_replace_rtx.

* bt-load.c (move_btr_def): Fix the order of arguments
	to validate_replace_rtx.

From-SVN: r125789
This commit is contained in:
Kaz Kojima 2007-06-18 05:10:38 +00:00
parent a761c345f3
commit a8d8890adb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-18 Kaz Kojima <kkojima@gcc.gnu.org>
* bt-load.c (move_btr_def): Fix the order of arguments
to validate_replace_rtx.
2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
* config/m68k/m68k-devices.def: Add 54450..54455.

View File

@ -1228,7 +1228,7 @@ move_btr_def (basic_block new_def_bb, int btr, btr_def def, bitmap live_range,
replacement_rtx = btr_rtx;
else
replacement_rtx = gen_rtx_REG (GET_MODE (user->use), btr);
validate_replace_rtx (user->insn, user->use, replacement_rtx);
validate_replace_rtx (user->use, replacement_rtx, user->insn);
user->use = replacement_rtx;
}
}