reload.c (find_reloads_address_1): To properly mark as an autoincdec...

* reload.c (find_reloads_address_1): To properly mark as an
	autoincdec, pass X for non-NULL OUT in call to push_reload for
	autoincdec which can't be trivially used as an address.

From-SVN: r130734
This commit is contained in:
Hans-Peter Nilsson 2007-12-10 01:09:44 +00:00 committed by Hans-Peter Nilsson
parent ac8bc93ea6
commit 7fb446a36d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-12-10 Hans-Peter Nilsson <hp@axis.com>
* reload.c (find_reloads_address_1): To properly mark as an
autoincdec, pass X for non-NULL OUT in call to push_reload for
autoincdec which can't be trivially used as an address.
2007-12-10 Pranav Bhandarkar <pranav.bhandarkar@celunite.com>
Hans-Peter Nilsson <hp@axis.com>

View File

@ -5736,7 +5736,7 @@ find_reloads_address_1 (enum machine_mode mode, rtx x, int context,
else
{
reloadnum
= push_reload (x, NULL_RTX, loc, (rtx*) 0,
= push_reload (x, x, loc, (rtx*) 0,
context_reg_class,
GET_MODE (x), GET_MODE (x), 0, 0,
opnum, type);