aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndy Hutchinson <hutchinsonandy@aim.com>2008-08-16 13:38:06 +0000
committerAndy Hutchinson <hutchinsonandy@gcc.gnu.org>2008-08-16 13:38:06 +0000
commit3898bf509da3456e5adacac4ead85d1a290405ef (patch)
tree68d614e0d2a7c561657ab4756f88f4124c716f4e /gcc
parentdd609cc1c110436516e09567ad57e005d6f323db (diff)
downloadgcc-3898bf509da3456e5adacac4ead85d1a290405ef.zip
gcc-3898bf509da3456e5adacac4ead85d1a290405ef.tar.gz
gcc-3898bf509da3456e5adacac4ead85d1a290405ef.tar.bz2
* config/avr/avr.c (avr_override_options): Reduce value of PARAM_INLINE_CALL_COST.
From-SVN: r139151
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/avr/avr.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a13ac05..f7218cd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 5fbf571..dba224d 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -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;