[Patch,AVR]: Fix PR target/44643
Georg-Johann Lay
avr@gjlay.de
Thu Apr 7 11:37:00 GMT 2011
This is fix of PR44643 which is triggerd by
http://savannah.nongnu.org/bugs/?32988
i.e. include/avr/pgmspace.h:PSTR has to be changed, too: PSTR has to
generate __c as "static const char[]", not as "static char[]". Note
that avr-libc has to be changed anyway, no matter if or if not this
patch is applied or not.
2011-04-07 Georg-Johann Lay <avr@gjlay.de>
PR target/44643
* config/avr/avr.c (avr_insert_attributes): Error if non-const
data has attribute progmem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr44643.diff
Type: text/x-patch
Size: 1215 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110407/a89e5736/attachment.bin>
More information about the Gcc-patches
mailing list