]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/avr/avr.c (avr_override_options): Reduce value of PARAM_INLINE_CALL_COST.
authorAndy Hutchinson <hutchinsonandy@aim.com>
Sat, 16 Aug 2008 13:38:06 +0000 (13:38 +0000)
committerAndy Hutchinson <hutchinsonandy@gcc.gnu.org>
Sat, 16 Aug 2008 13:38:06 +0000 (13:38 +0000)
From-SVN: r139151

gcc/ChangeLog
gcc/config/avr/avr.c

index a13ac05b864152058d2df7097e421a67cefdc417..f7218cdd088da884411c9711913382ef3e1d0327 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-16  Andy Hutchinson  <hutchinsonandy@aim.com>
+
+       * config/avr/avr.c (avr_override_options): Reduce value of 
+       PARAM_INLINE_CALL_COST.
+
 2008-08-15  Eric Botcazou  <ebotcazou@adacore.com>
 
        * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: When converting
index 5fbf57189ecdc14a7fb67068297c549170b06cd4..dba224db8869cff16538dfdd61258c17bba69420 100644 (file)
@@ -43,6 +43,7 @@
 #include "tm_p.h"
 #include "target.h"
 #include "target-def.h"
+#include "params.h"
 #include "df.h"
 
 /* Maximal allowed offset for an address in the LD command */
@@ -348,6 +349,9 @@ avr_override_options (void)
 
   flag_delete_null_pointer_checks = 0;
 
+  if (!PARAM_SET_P (PARAM_INLINE_CALL_COST))
+    set_param_value ("inline-call-cost", 5);
+
   for (t = avr_mcu_types; t->name; t++)
     if (strcmp (t->name, avr_mcu_name) == 0)
       break;