https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Author: gjl Date: Tue Aug 22 09:29:30 2017 New Revision: 251267 URL: https://gcc.gnu.org/viewcvs?rev=251267&root=gcc&view=rev Log: gcc/ Backport from 2017-04-19 trunk r246997. PR target/80462 * config/avr/avr.c (tree.h): Include it. (hash-table.h): Include it. (hash-set.h): Include it. (symtab.h): Include it. (inchash.h): Include it. (function.h): Include it. (hash-map.h): Include it. (plugin-api.h): Include it. (ipa-ref.h): Include it. (cgraph.h): Include it. (avr_encode_section_info): Don't warn for uninitialized progmem variable if it's just an alias. Backport from 2017-07-12 trunk r250151. PR target/81407 * config/avr/avr.c (avr_encode_section_info) [progmem && !TREE_READONLY]: Error if progmem object needs constructing. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/avr/avr.c