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

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 19 12:21:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Wed Apr 19 12:20:57 2017
New Revision: 246997

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


More information about the Gcc-bugs mailing list