reload.c (find_reloads): Fix check for failure to match any alternative...

* reload.c (find_reloads): Fix check for failure to match any alternative, to
account for Mar 26 change in initial "best" cost.

From-SVN: r20679
This commit is contained in:
Ken Raeburn 1998-06-23 18:28:47 +00:00 committed by Ken Raeburn
parent b93be35be0
commit c22eaf8a0c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Jun 23 21:27:27 1998 Ken Raeburn <raeburn@cygnus.com>
* reload.c (find_reloads): Fix check for failure to match any
alternative, to account for Mar 26 change in initial "best" cost.
Tue Jun 23 16:44:21 1998 Dave Brolley <brolley@cygnus.com>
* cpplib.c (do_line): Typo broke #line directive.

View File

@ -3499,7 +3499,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
that we could reach by reloading the fewest operands.
Reload so as to fit it. */
if (best == MAX_RECOG_OPERANDS + 300)
if (best == MAX_RECOG_OPERANDS * 2 + 600)
{
/* No alternative works with reloads?? */
if (insn_code_number >= 0)