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

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

https://gcc.gnu.org/g:231728b6dd7684e031f2a05e7e43bab54b7f2c5e

commit r12-10418-g231728b6dd7684e031f2a05e7e43bab54b7f2c5e
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