This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #4 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]