From c22eaf8a0c4c34850bf31d11e759f5d208af4522 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 23 Jun 1998 18:28:47 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/reload.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 928d7911606..e7271a7befa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 23 21:27:27 1998 Ken Raeburn + + * 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 * cpplib.c (do_line): Typo broke #line directive. diff --git a/gcc/reload.c b/gcc/reload.c index a8908a99ef7..83f05ad2f77 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -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) -- 2.30.2