]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR target/80462 ([avr] Incorrect "warning: uninitialized variable 'xxx...
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 22 Aug 2017 09:29:30 +0000 (09:29 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Tue, 22 Aug 2017 09:29:30 +0000 (09:29 +0000)
commit9d41b2f566b74cd6d5ebf0f045843a8142fb30e5
treee24667ad84fd9c094852514407f90551a861073a
parent2e3d6f9ba8ebb733a94fa9b7ece683cbe4ce7906
backport: re PR target/80462 ([avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings)

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.

From-SVN: r251267
gcc/ChangeLog
gcc/config/avr/avr.c