This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[AVR] Fix AVR target
- From: Anatoly Sokolov <aesok at post dot ru>
- To: gcc-patches at gcc dot gnu dot org
- Cc: chertykov at gmail dot com
- Date: Wed, 17 Jun 2009 11:26:47 +0400
- Subject: [AVR] Fix AVR target
Hi.
The GCC for AVR target don't compile now.
The "Pretty-ipa merge: Inliner heruistics reorg" patch
http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00812.html remove
"inline-call-cost" param, which is set up in avr_override_options function.
This patch remove setting "inline-call-cost" from avr_override_options function.
2008-06-17 Anatoly Sokolov <aesok@post.ru>
* config/avr/avr.c (avr_override_options): Remove setting value of
PARAM_INLINE_CALL_COST.
Index: gcc/config/avr/avr.c
===================================================================
--- gcc/config/avr/avr.c (revision 148536)
+++ gcc/config/avr/avr.c (working copy)
@@ -380,9 +380,6 @@
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;
Anatoly.