[Bug target/51756] wrong warning: uninitialized variable put into program memory area
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 4 21:55:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51756
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.7.0 |4.6.3
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-04 21:54:04 UTC ---
The following code also triggers the false warning for 4.6.2:
extern const char v[] __attribute__((progmem));
char foo (void)
{
return v[0];
}
More information about the Gcc-bugs
mailing list