This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,AVR] Fix PR51756
- From: Denis Chertykov <chertykov at gmail dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Weddington <eric dot weddington at atmel dot com>
- Date: Thu, 12 Jan 2012 20:26:30 +0400
- Subject: Re: [Patch,AVR] Fix PR51756
- References: <4F0EFB4D.1070106@gjlay.de>
2012/1/12 Georg-Johann Lay <avr@gjlay.de>:
> 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 checking for initializers of progmem variables.
Approved.
Denis.