reload.c (find_reloads): Fix check for failure to match any alternative...
authorKen Raeburn <raeburn@cygnus.com>
Tue, 23 Jun 1998 18:28:47 +0000 (18:28 +0000)
committerKen Raeburn <raeburn@gcc.gnu.org>
Tue, 23 Jun 1998 18:28:47 +0000 (18:28 +0000)
* 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
gcc/reload.c

index 928d79116069471095ced8b47caa3b6cea6b9b8c..e7271a7befa334e71f59788e7ab16a8120f52ec4 100644 (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.
index a8908a99ef753d8ff61ed389c238c505a9adadff..83f05ad2f777f6a1b97a40374efbdcdd45dc4578 100644 (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)