This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51756] wrong warning: uninitialized variable put into program memory area
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jan 2012 17:23:38 +0000
- Subject: [Bug target/51756] wrong warning: uninitialized variable put into program memory area
- Auto-submitted: auto-generated
- References: <bug-51756-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51756
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-12 17:23:38 UTC ---
Author: gjl
Date: Thu Jan 12 17:23:32 2012
New Revision: 183131
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183131
Log:
Backport from mainline r183129
PR target/51756
* config/avr/avr.c (avr_encode_section_info): Test for absence of
DECL_EXTERNAL when checking for initializers of progmem variables.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/avr/avr.c