Re: [Patch,AVR] Fix PR51756

2012-01-12 Thread Denis Chertykov
2012/1/12 Georg-Johann Lay : > This PR prints a false warning because missing DECL_EXTERNAL test in > avr_encode_section_info that checks if progmem variables come with initializer > or not. > > Ok for trunk? > >        PR target/51756 >        * config/avr/avr.c (avr_encode_section_info): Test for

[Patch,AVR] Fix PR51756

2012-01-12 Thread Georg-Johann Lay
This PR prints a false warning because missing DECL_EXTERNAL test in avr_encode_section_info that checks if progmem variables come with initializer or not. Ok for trunk? PR target/51756 * config/avr/avr.c (avr_encode_section_info): Test for absence of DECL_EXTERNAL when ch