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

--- Comment #34 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Georg-Johann Lay
<g...@gcc.gnu.org>:

https://gcc.gnu.org/g:c6141ad24f73cf1771e33c7d7edf1d80d8df70b8

commit r14-10175-gc6141ad24f73cf1771e33c7d7edf1d80d8df70b8
Author: Georg-Johann Lay <a...@gjlay.de>
Date:   Fri May 3 18:47:50 2024 +0200

    AVR: ipa/92606 - Don't optimize PROGMEM data against non-PROGMEM.

    ipa/92606: Inter-procedural analysis optimizes data across
    address-spaces and PROGMEM.  As of v14, the PROGMEM part is
    still not fixed (and there is still no target hook as proposed
    in PR92932).  Just disable respective bogus optimization.

            PR ipa/92606
    gcc/
            * config/avr/avr.cc (avr_option_override): Set
            flag_ipa_icf_variables = 0.
    gcc/testsuite/
            * gcc.target/avr/torture/pr92606.c: New test.

    (cherry picked from commit 08e752e72363ae7fd5a5fcb70913a0f7b240387b)

Reply via email to