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

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

https://gcc.gnu.org/g:1dc4e220ca2272d668ddb3041ccd9e69b968e532

commit r15-7544-g1dc4e220ca2272d668ddb3041ccd9e69b968e532
Author: Georg-Johann Lay <a...@gjlay.de>
Date:   Fri Feb 14 18:53:29 2025 +0100

    AVR: target/118878 - Don't ICE on result from paradoxical reg's alloc.

    After register allocation, paradoxical subregs may become something
    like  r20:SI += r22:SI  which doesn't make much sense as assembly code.
    Hence avr_out_plus_1() used to ICE on such code.  However, paradoxical
    subregs appear to be a common optimization device (instead of proper
    mode demotion).

            PR target/118878
    gcc/
            * config/avr/avr.cc (avr_out_plus_1): Don't ICE on result of
            paradoxical reg's register allocation.
    gcc/testsuite/
            * gcc.target/avr/torture/pr118878.c: New test.

Reply via email to