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 PR target/44643 * config/avr/avr.c (avr_insert_attributes): Error if non-const data has attribute progmem.