From d17fc17507d53317fe3931e247f0ef048f7bf2fb Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Wed, 29 Jun 2011 11:17:50 +0000 Subject: [PATCH] avr.c (avr_encode_section_info): Dispatch to default_encode_section_info. * config/avr/avr.c (avr_encode_section_info): Dispatch to default_encode_section_info. From-SVN: r175629 --- gcc/config/avr/avr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 5e665e5e13e..407a40f8c5e 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -5161,7 +5161,7 @@ avr_section_type_flags (tree decl, const char *name, int reloc) /* Implement `TARGET_ENCODE_SECTION_INFO'. */ static void -avr_encode_section_info (tree decl, rtx rtl ATTRIBUTE_UNUSED, +avr_encode_section_info (tree decl, rtx rtl, int new_decl_p) { /* In avr_handle_progmem_attribute, DECL_INITIAL is not yet @@ -5177,6 +5177,8 @@ avr_encode_section_info (tree decl, rtx rtl ATTRIBUTE_UNUSED, "uninitialized variable %q+D put into " "program memory area", decl); } + + default_encode_section_info (decl, rtl, new_decl_p); } -- 2.30.2