aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus.com>1998-06-23 18:28:47 +0000
committerKen Raeburn <raeburn@gcc.gnu.org>1998-06-23 18:28:47 +0000
commitc22eaf8a0c4c34850bf31d11e759f5d208af4522 (patch)
tree0fe047ab4988bfdaa59bfc6e652fb4ed449ca661
parentb93be35be02a8d9ac4e6e7f0b7695f6b4ed50045 (diff)
downloadgcc-c22eaf8a0c4c34850bf31d11e759f5d208af4522.zip
gcc-c22eaf8a0c4c34850bf31d11e759f5d208af4522.tar.gz
gcc-c22eaf8a0c4c34850bf31d11e759f5d208af4522.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/reload.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 928d791..e7271a7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/reload.c b/gcc/reload.c
index a8908a9..83f05ad 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)