* tree-eh.c (decide_copy_try_finally): Fix scaling of copy and
switch estimates.
From-SVN: r83367
+2004-06-18 Richard Henderson <rth@redhat.com>
+
+ * tree-eh.c (decide_copy_try_finally): Fix scaling of copy and
+ switch estimates.
+
2004-06-18 Andrew Pinski <pinskia@physics.uc.edu>
* config/i386/darwin.h (HOT_TEXT_SECTION_NAME): Define.
/* ??? These numbers are completely made up so far. */
if (optimize > 1)
- return f_estimate < 100 || f_estimate * 2 < sw_estimate;
+ return f_estimate < 100 || f_estimate < sw_estimate * 2;
else
- return f_estimate < 40 || f_estimate * 3 < sw_estimate * 2;
+ return f_estimate < 40 || f_estimate * 2 < sw_estimate * 3;
}
/* A subroutine of lower_eh_constructs_1. Lower a TRY_FINALLY_EXPR nodes