diff options
author | Andy Hutchinson <hutchinsonandy@aim.com> | 2008-08-16 13:38:06 +0000 |
---|---|---|
committer | Andy Hutchinson <hutchinsonandy@gcc.gnu.org> | 2008-08-16 13:38:06 +0000 |
commit | 3898bf509da3456e5adacac4ead85d1a290405ef (patch) | |
tree | 68d614e0d2a7c561657ab4756f88f4124c716f4e /gcc/config | |
parent | dd609cc1c110436516e09567ad57e005d6f323db (diff) | |
download | gcc-3898bf509da3456e5adacac4ead85d1a290405ef.tar.gz |
* config/avr/avr.c (avr_override_options): Reduce value of PARAM_INLINE_CALL_COST.
From-SVN: r139151
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/avr/avr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 5fbf57189ec..dba224db886 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; |