[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462

--- Comment #4 from Georg-Johann Lay  ---
Author: gjl
Date: Tue Aug 22 09:29:30 2017
New Revision: 251267

URL: https://gcc.gnu.org/viewcvs?rev=251267=gcc=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

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462

Georg-Johann Lay  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|unassigned at gcc dot gnu.org  |gjl at gcc dot gnu.org
   Target Milestone|--- |6.4

--- Comment #3 from Georg-Johann Lay  ---
Fixed in 6.4+.

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462

--- Comment #2 from Georg-Johann Lay  ---
Author: gjl
Date: Wed Apr 19 12:22:59 2017
New Revision: 246998

URL: https://gcc.gnu.org/viewcvs?rev=246998=gcc=rev
Log:
Backport from 2017-04-19 trunk r246997.
PR target/80462
* config/avr/avr.c (tree.h): Include it.
(cgraph.h): Include it.
(avr_encode_section_info): Don't warn for uninitialized progmem
variable if it's just an alias.


Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/avr/avr.c

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462

--- Comment #1 from Georg-Johann Lay  ---
Author: gjl
Date: Wed Apr 19 12:20:57 2017
New Revision: 246997

URL: https://gcc.gnu.org/viewcvs?rev=246997=gcc=rev
Log:
PR target/80462
* config/avr/avr.c (tree.h): Include it.
(cgraph.h): Include it.
(avr_encode_section_info): Don't warn for uninitialized progmem
variable if it's just an alias.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462

Georg-Johann Lay  changed:

   What|Removed |Added

   Keywords||diagnostic
 Target||avr
   Priority|P3  |P4
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-04-19
Version|unknown |6.3.1
 Ever confirmed|0   |1